Several updates, enable treesitter

This commit is contained in:
2021-05-26 16:06:30 +02:00
parent 515a0416d4
commit a5a1424be0
6 changed files with 31 additions and 11 deletions

View 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",
},
},
})