aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-01-25 22:33:33 +0100
committerThomas Schmucker <ts@its1.de>2026-01-25 22:33:33 +0100
commitfb1fcd7bd44682fb0e5b76a660954eb7a5b22597 (patch)
treea8bde5713b2a95d762f3c5566277ddfaed077682 /nvim/lua
parent23ff2cff5b7f598fd28026aa089d7304e9f301f4 (diff)
downloaddotfiles-fb1fcd7bd44682fb0e5b76a660954eb7a5b22597.tar.gz
dotfiles-fb1fcd7bd44682fb0e5b76a660954eb7a5b22597.tar.bz2
dotfiles-fb1fcd7bd44682fb0e5b76a660954eb7a5b22597.zip
Neovim: Treesitter für html, markdown, yaml und zsh hinzugefügt
Diffstat (limited to 'nvim/lua')
-rw-r--r--nvim/lua/config/autocmds.lua4
-rw-r--r--nvim/lua/plugins/editing.lua5
-rw-r--r--nvim/lua/plugins/lsp.lua2
-rw-r--r--nvim/lua/plugins/treesitter.lua4
4 files changed, 14 insertions, 1 deletions
diff --git a/nvim/lua/config/autocmds.lua b/nvim/lua/config/autocmds.lua
index 09aea1e..1452546 100644
--- a/nvim/lua/config/autocmds.lua
+++ b/nvim/lua/config/autocmds.lua
@@ -3,10 +3,14 @@ vim.api.nvim_create_autocmd("FileType", {
3 pattern = { 3 pattern = {
4 "c", 4 "c",
5 "cpp", 5 "cpp",
6 "html",
6 "lua", 7 "lua",
8 "markdown",
7 "prisma", 9 "prisma",
8 "python", 10 "python",
9 "typescript", 11 "typescript",
12 "yaml",
13 "zsh",
10 }, 14 },
11 callback = function() 15 callback = function()
12 vim.treesitter.start() 16 vim.treesitter.start()
diff --git a/nvim/lua/plugins/editing.lua b/nvim/lua/plugins/editing.lua
index 44f74c6..4a80d2b 100644
--- a/nvim/lua/plugins/editing.lua
+++ b/nvim/lua/plugins/editing.lua
@@ -17,4 +17,9 @@ return {
17 "windwp/nvim-ts-autotag", 17 "windwp/nvim-ts-autotag",
18 event = "InsertEnter", 18 event = "InsertEnter",
19 }, 19 },
20
21 {
22 "preservim/vim-markdown",
23 ft = "markdown"
24 },
20} 25}
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua
index 1a10c3a..717a81f 100644
--- a/nvim/lua/plugins/lsp.lua
+++ b/nvim/lua/plugins/lsp.lua
@@ -31,7 +31,7 @@ return {
31 31
32 vim.lsp.config.bashls = { 32 vim.lsp.config.bashls = {
33 capabilities = capabilities, 33 capabilities = capabilities,
34 filetypes = { "sh", "bash", "zsh" }, 34 filetypes = { "sh", "bash" },
35 } 35 }
36 36
37 vim.lsp.config.clangd = { 37 vim.lsp.config.clangd = {
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua
index e0e6beb..7c15036 100644
--- a/nvim/lua/plugins/treesitter.lua
+++ b/nvim/lua/plugins/treesitter.lua
@@ -23,12 +23,16 @@ return {
23 "html", 23 "html",
24 "javascript", 24 "javascript",
25 "lua", 25 "lua",
26 "markdown",
27 "markdown_inline",
26 "prisma", 28 "prisma",
27 "python", 29 "python",
28 "typescript", 30 "typescript",
29 "vim", 31 "vim",
30 "vim", 32 "vim",
31 "vimdoc", 33 "vimdoc",
34 "yaml",
35 "zsh",
32 }) 36 })
33 end, 37 end,
34 }, 38 },