neovim-confs/lua/treesitter-nvim.lua

26 lines
459 B
Lua
Raw Normal View History

2021-06-25 21:36:13 +05:30
local M = {}
2021-03-07 19:52:30 +05:30
2021-06-25 21:36:13 +05:30
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
}
2021-03-13 06:53:02 +05:30
}
2021-06-25 21:36:13 +05:30
end
return M