Recently string in vim.cmd
got syntax highlighted. I was wonder how easy it is to add syntax highlight in lua [[ ]]
block string.
I have them littered everywhere in my configs, packer, autocmds, mappings. I would be great if those green string could have some color.
For example
config = [[require('telescope').load_extension('fzf')]],
config = [[require('telescope').load_extension('frecency')]],
config = [[vim.g.undotree_SetFocusWhenToggle = 1]]
autocmd('nvimStartup', [[BufReadPost * if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' | exe "normal! g`\"" | endif ]], true)
Thank you