1
0
Fork 0
mirror of https://github.com/CompeyDev/my-nvim-setup.git synced 2025-04-18 12:33:44 +01:00
my-nvim-setup/lua/treesitter-nvim.lua
2021-06-25 21:36:13 +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