In my vim, I'm using gruvbox. Syntax colorization is great for everything except text written between `backticks`. You'll note once backticks are used, all subsequent lines of text are green. I would like backtick text to behave just like standard quoted text and to not screw up highlighting for the rest of the file. I write a lot of JavaScript. Thanks for the help in advance.
Thanks to the keen @D. Ben Knoble, I did some deeper digging into Javascript syntax... and found a vim plugin tailored specifically to Javascript called vim-javascript.
I installed it into the my_plugins
directory inside my .vim_runtime
folder that tunes The Ultimate Vim Configuration, which I also love more than any IDE so far.
That did the job swimmingly.
:call matchadd("String", "`\.\*`")
This command add pattern "any characters between backticks, backticks included" to String highlight-group.:he matchadd
:he pattern
:hi
– Alex Kroll Jun 6 at 7:07