A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/statico/vim-javascript-sql below:

statico/vim-javascript-sql: Vim plugin for highlighting SQL inside JavaScript template literals

Template Literal SQL Highlighting for Vim

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.

  1. Add Plug 'statico/vim-javascript-sql' to ~/.vimrc
  2. vim +PluginInstall +qall
  1. Add Plugin 'statico/vim-javascript-sql' to ~/.vimrc
  2. vim +PluginInstall +qall
  1. cd ~/.vim/bundle
  2. 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