diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-06-13 15:00:20 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-06-13 15:00:20 -0400 |
commit | a635a721247fd0f007ec4d741f7655166818cf5b (patch) | |
tree | e8a62ae012cd652b4427aea355677bb17ee10cf9 | |
parent | e329a0e2761b3926df867b1965a0664bfd6e2f9b (diff) |
Add sql parser to treesitter
-rw-r--r-- | after/plugin/treesitter.lua | 5 |
1 files 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. |