mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 21:40:37 +00:00
21 lines
312 B
Lua
21 lines
312 B
Lua
local ts_config
|
|
if
|
|
not pcall(
|
|
function()
|
|
ts_config = require "nvim-treesitter.configs"
|
|
end
|
|
)
|
|
then
|
|
return
|
|
end
|
|
|
|
ts_config.setup {
|
|
ensure_installed = {
|
|
"bash",
|
|
"lua"
|
|
},
|
|
highlight = {
|
|
enable = true,
|
|
use_languagetree = true
|
|
}
|
|
}
|