initial starter dir structure;

This commit is contained in:
siduck
2024-02-29 22:03:20 +05:30
parent 5d69a0d0f9
commit 7dc8c6d0b2
21 changed files with 403 additions and 475 deletions
+23
View File
@@ -0,0 +1,23 @@
local config = {
ensure_installed = { "lua", "vim", "vimdoc" },
highlight = {
enable = true,
use_languagetree = true,
},
indent = { enable = true },
}
return {
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPost", "BufNewFile" },
cmd = { "TSInstall", "TSBufEnable", "TSBufDisable", "TSModuleInfo" },
build = ":TSUpdate",
opts = config,
config = function(_, opts)
dofile(vim.g.base46_cache .. "syntax")
dofile(vim.g.base46_cache .. "treesitter")
require("nvim-treesitter.configs").setup(opts)
end,
}