{"id":19029949,"url":"https://github.com/statico/vim-javascript-sql","last_synced_at":"2025-04-23T16:01:20.726Z","repository":{"id":56391606,"uuid":"110784282","full_name":"statico/vim-javascript-sql","owner":"statico","description":"Vim plugin for highlighting SQL inside JavaScript template literals","archived":false,"fork":false,"pushed_at":"2021-05-06T20:10:44.000Z","size":60,"stargazers_count":13,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T01:47:26.409Z","etag":null,"topics":["javascript","neovim","sql","vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statico.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-15T04:39:15.000Z","updated_at":"2024-07-01T06:50:32.000Z","dependencies_parsed_at":"2022-08-15T17:50:42.378Z","dependency_job_id":null,"html_url":"https://github.com/statico/vim-javascript-sql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statico%2Fvim-javascript-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statico%2Fvim-javascript-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statico%2Fvim-javascript-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statico%2Fvim-javascript-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statico","download_url":"https://codeload.github.com/statico/vim-javascript-sql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250468272,"owners_count":21435451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","neovim","sql","vim"],"created_at":"2024-11-08T21:15:53.200Z","updated_at":"2025-04-23T16:01:20.658Z","avatar_url":"https://github.com/statico.png","language":"Vim script","readme":"# Template Literal SQL Highlighting for Vim\n\nThis is a [Vim](http://www.vim.org/) plugin that provides highlighting inside SQL [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) when using a module like [sql-template-strings](https://github.com/felixfbecker/node-sql-template-strings). It kind of works.\n\n![screenshot](https://raw.githubusercontent.com/statico/vim-javascript-sql/master/screenshot.png)\n\nThis module is experimental and strongly inspired by [vim-graphql](https://github.com/jparise/vim-graphql).\n\n## Installation\n\n### Using [Plug](https://github.com/junegunn/vim-plug)\n\n1. Add `Plug 'statico/vim-javascript-sql'` to `~/.vimrc`\n1. `vim +PluginInstall +qall`\n\n### Using [Vundle](https://github.com/VundleVim/Vundle.vim)\n\n1. Add `Plugin 'statico/vim-javascript-sql'` to `~/.vimrc`\n1. `vim +PluginInstall +qall`\n\n### Using [Pathogen](https://github.com/tpope/vim-pathogen)\n\n1. `cd ~/.vim/bundle`\n1. `git clone https://github.com/statico/vim-javascript-sql.git`\n\n## Configuration\n\nThis 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:\n\n```vim\nlet g:javascript_sql_dialect = 'pgsql'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatico%2Fvim-javascript-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatico%2Fvim-javascript-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatico%2Fvim-javascript-sql/lists"}