diff options
| author | Thomas Schmucker <ts@its1.de> | 2025-12-22 17:37:13 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2025-12-22 17:37:13 +0100 |
| commit | e8bd36899b88285c94c850f0dfce0754d94cfe24 (patch) | |
| tree | aa857a427db278888233ab03cad59b138d16eaa8 /nvim/lua/plugins/treesitter.lua | |
| parent | 6f6457b7397247a34e25d4d9bfca434d8306283e (diff) | |
| download | dotfiles-e8bd36899b88285c94c850f0dfce0754d94cfe24.tar.gz dotfiles-e8bd36899b88285c94c850f0dfce0754d94cfe24.tar.bz2 dotfiles-e8bd36899b88285c94c850f0dfce0754d94cfe24.zip | |
Neovim: Neue Konfiguration
Diffstat (limited to 'nvim/lua/plugins/treesitter.lua')
| -rw-r--r-- | nvim/lua/plugins/treesitter.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..edcaff2 --- /dev/null +++ b/nvim/lua/plugins/treesitter.lua | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/README.md | ||
| 2 | |||
| 3 | return { | ||
| 4 | { | ||
| 5 | "nvim-treesitter/nvim-treesitter", | ||
| 6 | branch = "main", | ||
| 7 | build = ":TSUpdate", | ||
| 8 | lazy = false, | ||
| 9 | config = function() | ||
| 10 | local treesitter = require("nvim-treesitter") | ||
| 11 | |||
| 12 | treesitter.setup({}) | ||
| 13 | |||
| 14 | -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/SUPPORTED_LANGUAGES.md | ||
| 15 | treesitter.install({ | ||
| 16 | "c", | ||
| 17 | "cpp", | ||
| 18 | "html", | ||
| 19 | "python", | ||
| 20 | "vim", | ||
| 21 | "vimdoc", | ||
| 22 | "javascript", | ||
| 23 | "lua", | ||
| 24 | "typescript", | ||
| 25 | "vim", | ||
| 26 | }) | ||
| 27 | end, | ||
| 28 | }, | ||
| 29 | } | ||
