Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: use syntax iskeyword against set iskeyword #59

Open
xc1427 opened this issue Nov 26, 2016 · 1 comment
Open

Suggestion: use syntax iskeyword against set iskeyword #59

xc1427 opened this issue Nov 26, 2016 · 1 comment

Comments

@xc1427
Copy link

xc1427 commented Nov 26, 2016

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.
@othree
Copy link
Owner

othree commented Nov 27, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants