How to change the boundaries of characters used / found in Vim omni?

For example, in Sass, I use a dash for variable names, and I have a variable called:

$hello-there

If I type he, then I will try to complete it, it will complete only hello. How would I make it complete hello-there?

+5
source share
1 answer

One way to do this is to add a dash to the iskeyword option . Something like the following:

set iskeyword+=-

Perhaps you can add this parameter only to sass files only with filetype .

+4
source

All Articles