Moving to individual plugin files for lazy
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user