]> git.localhorst.tv Git - nvim-config.git/commitdiff
feat(treesitter): examples on how to setup treesitter
authorFolke Lemaitre <folke.lemaitre@gmail.com>
Sat, 7 Jan 2023 09:53:15 +0000 (10:53 +0100)
committerFolke Lemaitre <folke.lemaitre@gmail.com>
Sat, 7 Jan 2023 09:53:15 +0000 (10:53 +0100)
lua/plugins/treesitter.lua [new file with mode: 0644]

diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
new file mode 100644 (file)
index 0000000..6797338
--- /dev/null
@@ -0,0 +1,24 @@
+return {
+
+  -- treesitter
+  {
+    "nvim-treesitter/nvim-treesitter",
+    ensure_installed = {
+      "bash",
+      "help",
+      "html",
+      "javascript",
+      "json",
+      "lua",
+      "markdown",
+      "markdown_inline",
+      "python",
+      "query",
+      "regex",
+      "tsx",
+      "typescript",
+      "vim",
+      "yaml",
+    },
+  },
+}