my-nvim-setup/lua/plugins/treesitter.lua
2021-07-09 09:14:04 +05:30

25 lines
459 B
Lua

local M = {}
M.config = function()
local ts_config = require("nvim-treesitter.configs")
ts_config.setup {
ensure_installed = {
"javascript",
"html",
"css",
"bash",
"lua",
"json",
"python"
-- "rust",
-- "go"
},
highlight = {
enable = true,
use_languagetree = true
}
}
end
return M