I tried the below to no avail.
syn keyword myConstant foo.bar "foo.bar" foo\.bar
What can I do to make this work?
I tried the below to no avail.
syn keyword myConstant foo.bar "foo.bar" foo\.bar
What can I do to make this work?
Copyright © 2021 Jogjafile Inc.
There is a string what identifies what are valid characters in a keyword. The string is called
iskeyword(which sounds like a bool).The default string as of this writing is
@,48-57,192-255,$,_The solution was to modify the iskeyword string to include the period which I appended at the end. The final result is:
syntax iskeyword @,48-57,192-255,$,_,.