othree / yajs.vim

YAJS.vim: Yet Another JavaScript Syntax for Vim
http://www.vim.org/scripts/script.php?script_id=4974
Vim License
688 stars 41 forks source link

Proposal about changing highlighting of imports #143

Closed k33nice closed 7 years ago

k33nice commented 7 years ago

Hi! What do you think about changing highlighting javascriptImport and javascriptExport as Include. In other langs, I'm used to see imports higlighted as Include? So, for me, it's unusual, that it's have another highlighting. I put this in my .vimrc

  au BufEnter *.js,*.jsx hi! link javascriptImport Include
  au BufEnter *.js,*.jsx hi! link javascriptExport Include

so it's no problem for me anymore. But maybe it would be more familar for other.

othree commented 7 years ago

I just try to find a good highlight group for import/export 2 days ago. And include is in my blind spot