my-nvim-setup/lua/plugins/treesitter.lua
Akianonymus 9c1a3ad2a2 Use a different saner syntax for pcall
takes less lines, looks much better

remove neoscroll.lua, missed in 2952f4d5c7
2021-07-17 22:10:25 +05:30

15 lines
266 B
Lua

local present, ts_config = pcall(require, "nvim-treesitter.configs")
if not present then
return
end
ts_config.setup {
ensure_installed = {
"bash",
"lua"
},
highlight = {
enable = true,
use_languagetree = true
}
}