From a635a721247fd0f007ec4d741f7655166818cf5b Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Tue, 13 Jun 2023 15:00:20 -0400 Subject: Add sql parser to treesitter --- after/plugin/treesitter.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index cdeadc0..9df06d7 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -1,12 +1,11 @@ require'nvim-treesitter.configs'.setup { - -- A list of parser names, or "all" (the four listed parsers should always be installed) + -- A list of parser names ensure_installed = { "bash", "c", "c_sharp", "dockerfile", "go", - "help", "html", "javascript", "json", @@ -16,6 +15,7 @@ require'nvim-treesitter.configs'.setup { "python", "regex", "ruby", + "sql", "tsx", "typescript", "vim", @@ -30,6 +30,7 @@ require'nvim-treesitter.configs'.setup { highlight = { enable = true, + -- NOTE: tree-sitter is disabled for css because it interferes with another plugin that shows color codes when you write them disable = { "css" }, -- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- cgit v1.2.3