I have *.q
files ( that are very similar to other SQL ) and I want to make vim syntax highlight it in the same way as SQL.
how to make file extensions to syntax highlighting in vim?
1k views Asked by yonatan At
2
I have *.q
files ( that are very similar to other SQL ) and I want to make vim syntax highlight it in the same way as SQL.
Include it in the
~/.vim/filetype.vim
, as described at Vim FAQ 26.8:For this case it would be changed to something like this:
Check
:help new-filetype
for additional details.