diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-02-05 15:18:33 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-02-05 15:18:33 +0100 |
| commit | a2793f7d7a7989a5c7a2ff8c4da5e049a22fa9ea (patch) | |
| tree | 873a9afe6462b6cd86e40fc36dfcaa21269069fc /nvim/lua/plugins | |
| parent | f51f28c18453b5351c952c3893fb4784835dc035 (diff) | |
| download | dotfiles-a2793f7d7a7989a5c7a2ff8c4da5e049a22fa9ea.tar.gz dotfiles-a2793f7d7a7989a5c7a2ff8c4da5e049a22fa9ea.tar.bz2 dotfiles-a2793f7d7a7989a5c7a2ff8c4da5e049a22fa9ea.zip | |
Neovim: Treesitter-Konfiguration vereinfacht und etwas robuster gestaltet
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 | } |
