made neovim config using XDG_BASE_FOLDER specifications

This commit is contained in:
Abhigyan Madhukalya
2022-10-08 18:43:06 +05:30
parent 8ff0e15eec
commit 8061281109
11 changed files with 391 additions and 308 deletions

View File

@@ -0,0 +1,20 @@
-------------------------------------------------
-- DT'S NEOVIM CONFIGURATION
-- Neovim website: https://neovim.io/
-- DT's dotfiles: https://gitlab.com/dwt1/dotfiles
-------------------------------------------------
local status, ts = pcall(require, "nvim-treesitter.configs")
if not status then
return
end
ts.setup({
-- If TS highlights are not enabled at all, or disabled via `disable` prop,
-- highlighting will fallback to default Vim syntax highlighting
highlight = {
enable = true,
additional_vim_regex_highlighting = { "org" }, -- Required for spellcheck, some LaTex highlights and code block highlights that do not have ts grammar
},
ensure_installed = { "org", "lua" }, -- Or run :TSUpdate org
})