nvim theme settings

This commit is contained in:
2025-04-02 20:46:30 +02:00
parent 0634216a1d
commit cc3e4b5a87
5 changed files with 31 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
-- treesitter.lua
require('nvim-treesitter.configs').setup {
-- Install these parsers by default
ensure_installed = {
"lua", "vim", "vimdoc", "javascript", "typescript", "python", "rust",
"go", "html", "css", "json", "yaml", "toml", "markdown", "bash"
},
auto_install = true, -- Automatically install missing parsers
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
indent = { enable = true },
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<CR>",
node_incremental = "<CR>",
node_decremental = "<BS>",
},
},
}