vim-settings/neovim/lua/plugins/treesitter.lua

25 lines
521 B
Lua
Raw Normal View History

-- Configures nvim-treesitter
2021-12-15 17:37:51 +00:00
require("nvim-treesitter.configs").setup({
incremental_selection = { enable = true },
-- Indent appears to be broken right now
2021-12-15 17:37:51 +00:00
indent = { enable = false },
textobjects = { enable = true },
highlight = {
enable = true,
disable = {},
},
ensure_installed = {
"bash",
"css",
"fish",
"go",
"gomod",
"javascript",
"json",
"lua",
"python",
"rust",
"yaml",
},
2021-12-15 17:37:51 +00:00
})