diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-01-21 08:23:11 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-01-21 08:23:11 +0100 |
| commit | 23ff2cff5b7f598fd28026aa089d7304e9f301f4 (patch) | |
| tree | ebffcdfa3074afae3b6bd7689ae3738fcd594c5d /nvim/lua/config | |
| parent | 2f573c93f914ad7b4c8a11c8ed800c30602ae2e2 (diff) | |
| download | dotfiles-23ff2cff5b7f598fd28026aa089d7304e9f301f4.tar.gz dotfiles-23ff2cff5b7f598fd28026aa089d7304e9f301f4.tar.bz2 dotfiles-23ff2cff5b7f598fd28026aa089d7304e9f301f4.zip | |
neovim: Unterstützung für Prisma hinzugefügt
Diffstat (limited to 'nvim/lua/config')
| -rw-r--r-- | nvim/lua/config/autocmds.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nvim/lua/config/autocmds.lua b/nvim/lua/config/autocmds.lua index 6be82dd..09aea1e 100644 --- a/nvim/lua/config/autocmds.lua +++ b/nvim/lua/config/autocmds.lua | |||
| @@ -1,6 +1,13 @@ | |||
| 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 = { "c", "cpp", "lua", "python", "typescript" }, | 3 | pattern = { |
| 4 | "c", | ||
| 5 | "cpp", | ||
| 6 | "lua", | ||
| 7 | "prisma", | ||
| 8 | "python", | ||
| 9 | "typescript", | ||
| 10 | }, | ||
| 4 | callback = function() | 11 | callback = function() |
| 5 | vim.treesitter.start() | 12 | vim.treesitter.start() |
| 6 | vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()" | 13 | vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()" |
