nvim theme settings
This commit is contained in:
22
.config/nvim/lua/config/plugins/treesitter.lua
Normal file
22
.config/nvim/lua/config/plugins/treesitter.lua
Normal 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>",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user