dotfiles/.config/nvim/lua/treesitter-nvim.lua

28 lines
497 B
Lua
Raw Normal View History

2021-07-11 15:50:22 +02:00
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