jaxbot / semantic-highlight.vim

Semantic Highlighting for Vim
http://jaxbot.me/
488 stars 33 forks source link

Matches should be case-sensitive #53

Closed faceleg closed 8 years ago

faceleg commented 8 years ago

User is not user

faceleg commented 8 years ago

It appears that this plugin is 'doing it right', in terms of generating a correct-looking keyword syn assignment.

execute hi! def _semantic0 guifg=#9CD8F7
execute hi! def _semantic1 guifg=#F5FA1D
execute syn keyword _semantic0 son
execute syn keyword _semantic1 JSON

Both JSON and json get the same colour

faceleg commented 8 years ago

http://vi.stackexchange.com/questions/7500/is-syntax-keyword-case-sensitive

faceleg commented 8 years ago

I think this is something to do with my syntax highlighting

faceleg commented 8 years ago

Case sensitive highlighting works after removing ap/vim-css-color and othree/jsdoc-syntax.vim