javascript-libraries-syntax.vim icon indicating copy to clipboard operation
javascript-libraries-syntax.vim copied to clipboard

Suggestion: use syntax iskeyword against set iskeyword

Open xc1427 opened this issue 9 years ago • 1 comments

In the file /autoload/syntax/angular.html.vim there is:

setlocal iskeyword+=-

But this will change how motion w works on the symbol -.

I think syntax iskeyword @,48-57,_,192-255,$,- is better.

As vim document said,

This defines the keyword characters.  It's like the `iskeyword` for but only applies to syntax highlighting.

xc1427 avatar Nov 26 '16 12:11 xc1427

I define iskeyword is not just for synatx highlight. But also let SyntaxComplete can use keywords in this keywords

othree avatar Nov 27 '16 16:11 othree