my-nvim-setup/lua/treesitter/lua.lua

20 lines
342 B
Lua
Raw Normal View History

2021-03-07 14:22:30 +00:00
local ts_config = require("nvim-treesitter.configs")
ts_config.setup {
2021-03-13 01:23:02 +00:00
ensure_installed = {
"javascript",
"html",
"css",
"bash",
2021-04-20 05:15:14 +01:00
"lua",
2021-04-25 07:27:24 +01:00
"json",
"python"
2021-04-20 05:15:14 +01:00
-- "cpp",
-- "rust",
2021-03-13 01:23:02 +00:00
},
highlight = {
enable = true,
use_languagetree = true
}
2021-03-07 14:22:30 +00:00
}