Lua filetype detection is enabled by default in neovim nightly so we don't need those two options. The reason we can't simply override them in `custom/init.lua` is that setting `did_load_filetypes` to any value, completely disables filetype detection (and therefore syntax highlighting) and this may confuse people that use neovim nightly. I know NvChad doesn't officially support neovim nightly but people may want to try it to see the new features and this PR makes their life easier. Also, you do a similar check in `plugins/configs/lspconfig.lua` so I thought it's ok :)
remove vim tsparser as it is adviced to have 100% lua config and vim.cmd adds a lil overhead as compared to native vim api functions, increase shiftwidth as it looks better
• problem: providers are incorrectly disabled
• why: providers must be disabled by
setting their global value to 0,
unlike default plugins.
• solution: disable built-in providers by
setting their values to 0
instead of 1
added cmd fields for various plugins for example lspinstaller+lspconfig gets loaded only when a file opened but their commands can be run before a file is opened so I additionally lazy loaded them on their cmds too
removed nvim-gps as nvim-navic or winbar.nvim will be added when v0.8 neovim releases. Removed lsp signature as I was able to emulate showing args with the default signature help() window
vim matchup was causing #1164 as we lazy load it and its a lil high on startup so I removed it, gotta wait till v0.8 releases and then we could use winbar.nvim instead
this completely overhauls the design of the two configuration files,
aiming to move options & various tables into a more sensible table structure
BREAKING CHANGE: this will break any user modificiations to the current
config