elm-mode icon indicating copy to clipboard operation
elm-mode copied to clipboard

Is it intention that "." is a word constituent in the syntax table?

Open schoettl opened this issue 1 year ago • 7 comments

elm-mode seems to treat dots as part of a identifier, e.g. model.state is one word.

This means that in evil mode many commands don't work as expected, e.g. w, b, Ctrl-], *, etc.

I'm aware that .state is also a function to access the state property of model. But in most cases . is not part of an identifier – at least in my code.

How about making . not a punctation instead of a word constituent?

(modify-syntax-entry ?. ".")

schoettl avatar Oct 11 '22 14:10 schoettl