summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/treesitter.lua
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 06:08:11 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 06:08:11 -0400
commit273545e803d66b626eeec19ec225c336957c23f1 (patch)
treea6fa1f846f1bbbedc2cf25a070f4de99701e916e /lua/ben/plugins/treesitter.lua
parent770811cc75e1b970ecbf91d08f0163dd2b2eac6d (diff)
Update 3 to my nvim config
Diffstat (limited to 'lua/ben/plugins/treesitter.lua')
-rw-r--r--lua/ben/plugins/treesitter.lua25
1 files changed, 23 insertions, 2 deletions
diff --git a/lua/ben/plugins/treesitter.lua b/lua/ben/plugins/treesitter.lua
index 362318d..b8f4ec0 100644
--- a/lua/ben/plugins/treesitter.lua
+++ b/lua/ben/plugins/treesitter.lua
@@ -22,27 +22,48 @@ return {
-- ensure these language parsers are installed
ensure_installed = {
"json",
- "javascript",
- "typescript",
"yaml",
"html",
"css",
+ "javascript",
"markdown",
"markdown_inline",
"graphql",
"bash",
"lua",
"go",
+ "gomod",
+ "gowork",
+ "gosum",
"latex",
"bibtex",
"rnoweb",
"org",
"rust",
"c",
+ "cpp",
+ "arduino",
"vim",
+ "make",
+ "cmake",
+ "mermaid",
+ "passwd",
+ "gpg",
+ "regex",
+ "awk",
+ "sql",
+ "ssh_config",
+ "sxhkdrc",
"nix",
+ "xml",
+ "csv",
"dockerfile",
+ "git_config",
+ "git_rebase",
+ "gitattributes",
+ "gitcommit",
"gitignore",
+ "diff",
},
-- enable nvim-ts-context-commentstring plugin for commenting tsx and jsx
context_commentstring = {