diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-02-05 14:12:45 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-02-05 14:12:45 +0100 |
| commit | f51f28c18453b5351c952c3893fb4784835dc035 (patch) | |
| tree | 5eb924ba35c378bc53b9e90f464db6ca72560957 /nvim/lua | |
| parent | d717c213b1409303cdca2f9dda5257a65ba07327 (diff) | |
| download | dotfiles-f51f28c18453b5351c952c3893fb4784835dc035.tar.gz dotfiles-f51f28c18453b5351c952c3893fb4784835dc035.tar.bz2 dotfiles-f51f28c18453b5351c952c3893fb4784835dc035.zip | |
Neovim: Treesitter Einstellungen angepasst
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/config/autocmds.lua | 7 | ||||
| -rw-r--r-- | nvim/lua/plugins/treesitter.lua | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/nvim/lua/config/autocmds.lua b/nvim/lua/config/autocmds.lua index 1452546..52c56f9 100644 --- a/nvim/lua/config/autocmds.lua +++ b/nvim/lua/config/autocmds.lua | |||
| @@ -1,14 +1,21 @@ | |||
| 1 | -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/doc/nvim-treesitter.txt | 1 | -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/doc/nvim-treesitter.txt |
| 2 | vim.api.nvim_create_autocmd("FileType", { | 2 | vim.api.nvim_create_autocmd("FileType", { |
| 3 | pattern = { | 3 | pattern = { |
| 4 | "bash", | ||
| 4 | "c", | 5 | "c", |
| 5 | "cpp", | 6 | "cpp", |
| 6 | "html", | 7 | "html", |
| 8 | "javascript", | ||
| 7 | "lua", | 9 | "lua", |
| 10 | "make", | ||
| 8 | "markdown", | 11 | "markdown", |
| 12 | "markdown_inline", | ||
| 9 | "prisma", | 13 | "prisma", |
| 10 | "python", | 14 | "python", |
| 11 | "typescript", | 15 | "typescript", |
| 16 | "vim", | ||
| 17 | "vim", | ||
| 18 | "vimdoc", | ||
| 12 | "yaml", | 19 | "yaml", |
| 13 | "zsh", | 20 | "zsh", |
| 14 | }, | 21 | }, |
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 7c15036..2bbc4c1 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua | |||
| @@ -23,6 +23,7 @@ return { | |||
| 23 | "html", | 23 | "html", |
| 24 | "javascript", | 24 | "javascript", |
| 25 | "lua", | 25 | "lua", |
| 26 | "make", | ||
| 26 | "markdown", | 27 | "markdown", |
| 27 | "markdown_inline", | 28 | "markdown_inline", |
| 28 | "prisma", | 29 | "prisma", |
