diff options
Diffstat (limited to 'nvim/lua/plugins')
| -rw-r--r-- | nvim/lua/plugins/treesitter.lua | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 2bbc4c1..235c0b5 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua | |||
| @@ -12,29 +12,11 @@ return { | |||
| 12 | lazy = false, | 12 | lazy = false, |
| 13 | config = function() | 13 | config = function() |
| 14 | local treesitter = require("nvim-treesitter") | 14 | local treesitter = require("nvim-treesitter") |
| 15 | local langs = require("config.treesitter").languages | ||
| 15 | 16 | ||
| 16 | -- treesitter.setup({}) | 17 | -- treesitter.setup({}) |
| 17 | 18 | ||
| 18 | -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/SUPPORTED_LANGUAGES.md | 19 | treesitter.install(langs) |
| 19 | treesitter.install({ | ||
| 20 | "bash", | ||
| 21 | "c", | ||
| 22 | "cpp", | ||
| 23 | "html", | ||
| 24 | "javascript", | ||
| 25 | "lua", | ||
| 26 | "make", | ||
| 27 | "markdown", | ||
| 28 | "markdown_inline", | ||
| 29 | "prisma", | ||
| 30 | "python", | ||
| 31 | "typescript", | ||
| 32 | "vim", | ||
| 33 | "vim", | ||
| 34 | "vimdoc", | ||
| 35 | "yaml", | ||
| 36 | "zsh", | ||
| 37 | }) | ||
| 38 | end, | 20 | end, |
| 39 | }, | 21 | }, |
| 40 | } | 22 | } |
