]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/nvim-treesitter.lua
nvim: override treesitter file support
[dotfiles.git] / nvim / lua / plugins / nvim-treesitter.lua
diff --git a/nvim/lua/plugins/nvim-treesitter.lua b/nvim/lua/plugins/nvim-treesitter.lua
new file mode 100644 (file)
index 0000000..8b87f09
--- /dev/null
@@ -0,0 +1,23 @@
+return {
+  -- add more treesitter parsers
+  {
+    "nvim-treesitter/nvim-treesitter",
+    opts = {
+      -- overwrites the settings from LazyVim
+      ensure_installed = {
+        "bash",
+        "c",
+        "html",
+        "json",
+        "lua",
+        "markdown",
+        "markdown_inline",
+        "python",
+        "regex",
+        "vim",
+        "vimdoc",
+        "yaml",
+      },
+    },
+  },
+}