2021-06-25 18:06:13 +02:00
|
|
|
local M = {}
|
2021-03-07 15:22:30 +01:00
|
|
|
|
2021-06-25 18:06:13 +02:00
|
|
|
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 02:23:02 +01:00
|
|
|
}
|
2021-06-25 18:06:13 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|