Moving to individual plugin files for lazy

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-09-03 13:36:05 +02:00
parent e9fad30daf
commit 93d665867b
37 changed files with 1130 additions and 1205 deletions

View File

@@ -1,15 +1,18 @@
local status, treesitter = pcall(require, "nvim-treesitter.configs")
if not status then
return
end
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local treesitter = require("nvim-treesitter.configs")
treesitter.setup({
ensure_installed = { "lua", "vim", "vimdoc", "javascript", "java", "json" },
sync_install = false,
auto_install = true,
treesitter.setup({
ensure_installed = { "lua", "vim", "vimdoc", "javascript", "java", "json" },
sync_install = false,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
})
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
})
end,
}