This is a Vim plugin that provides highlighting inside SQL template literals when using a module like sql-template-strings. It kind of works.
This module is experimental and strongly inspired by vim-graphql.
Plug 'statico/vim-javascript-sql'
to ~/.vimrc
vim +PluginInstall +qall
Plugin 'statico/vim-javascript-sql'
to ~/.vimrc
vim +PluginInstall +qall
cd ~/.vim/bundle
git clone https://github.com/statico/vim-javascript-sql.git
This plugin uses the generic SQL syntax by default. If you want to use a different dialect, like PostgreSQL, put something like this in your .vimrc:
let g:javascript_sql_dialect = 'pgsql'
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4