mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-24 08:09:37 +01:00
28 lines
497 B
Lua
28 lines
497 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",
|
||
|
"c",
|
||
|
"python",
|
||
|
"java",
|
||
|
-- "rust",
|
||
|
-- "go"
|
||
|
},
|
||
|
highlight = {
|
||
|
enable = true,
|
||
|
use_languagetree = true
|
||
|
}
|
||
|
}
|
||
|
end
|
||
|
|
||
|
return M
|