dotfiles/.config/nvim/lua/treesitter-nvim.lua
2021-07-11 16:50:22 +03:00

28 lines
497 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",
"c",
"python",
"java",
-- "rust",
-- "go"
},
highlight = {
enable = true,
use_languagetree = true
}
}
end
return M