clean config & rm un-needed pcalls
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
local present, treesitter = pcall(require, "nvim-treesitter.configs")
|
||||
|
||||
if not present then
|
||||
return
|
||||
end
|
||||
|
||||
loadfile(vim.g.base46_cache .. "syntax")()
|
||||
loadfile(vim.g.base46_cache .. "treesitter")()
|
||||
|
||||
@@ -25,4 +19,4 @@ local options = {
|
||||
-- check for any override
|
||||
options = require("core.utils").load_override(options, "nvim-treesitter/nvim-treesitter")
|
||||
|
||||
treesitter.setup(options)
|
||||
require("nvim-treesitter.configs").setup(options)
|
||||
|
||||
Reference in New Issue
Block a user