- new neovim config
This commit is contained in:
12
lua/plugins/treesitter.lua
Normal file
12
lua/plugins/treesitter.lua
Normal file
@ -0,0 +1,12 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
branch = 'master',
|
||||
lazy = false,
|
||||
build = ":TSUpdate",
|
||||
event = { "BufRead" },
|
||||
opts = { -- Das Plugin bietet noch diverse weitere Optionen.
|
||||
indent = { enable = true }, -- Automatische Einrückungen mit Tree-sitter
|
||||
highlight = { enable = true }, -- Das Syntax-Highlighting einschalten
|
||||
auto_install = true, -- Highlighting-Daten automatisch installieren
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user