mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-09-11 04:06:23 +00:00
Several updates, enable treesitter
This commit is contained in:
19
.config/nvim/lua/plugins/treesitter.lua
Normal file
19
.config/nvim/lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
require('nvim-treesitter.configs').setup({
|
||||
ensure_installed = { "python", "go", "julia", "elixir", "rust", "gomod", "json", "lua", "ruby", "yaml" },
|
||||
ignore_install = { "haskell" },
|
||||
highlight = {
|
||||
enable = true
|
||||
},
|
||||
indent = {
|
||||
enable = true
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "gnn",
|
||||
node_incremental = "grn",
|
||||
scope_incremental = "grc",
|
||||
node_decremental = "grm",
|
||||
},
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user