91 Commits (8a18f89b03b0aaf013c8832024687f6e981e7576)

Author SHA1 Message Date
siduck 8a18f89b03 install binaries from mason.nvm & tsparsers automatically after nvchad install 2 years ago
Rik034 3df9c03eb5 Fixed notify_once() call 2 years ago
siduck e8a4158924 Support old plugin syntax too | Cleanup | Misc
use vim.notify to give deprecation warning

    use packer.use directly rather than wrapping around packer.startup

    Do some explicit type checking

Co-authored-by: Akianonymus <anonymus.aki@gmail.com>
2 years ago
siduck d61946d3bf Simplify plugin management even more (#1518) 2 years ago
siduck bf827e0ebd fix #1516 #1517
an autocmd can be used for formatoptions and avoid using bw, read the convo at 39c42ca2bf (r82388570)
2 years ago
Akianonymus 130442712b Fix some lsp warnings 2 years ago
Akianonymus 5e81ae8379 utils: close_buffer: Ask for confirmation when using on modified files
neovim handles this internally so why not use it
2 years ago
Akianonymus ce86597c3d utils: bufilter: Check for nil
it will be empty if tabufline is disabled
2 years ago
Akianonymus f2c3ed0e7d utils: mappings: Allow plugin=true in user mappings
so that they can be lazy loaded if required

https://github.com/NvChad/NvChad/issues/1467
2 years ago
Akianonymus a20fc560f3 utils: Improve mapping function | Properly lazy load whichkey
just add desc with normal vim.keymap.set function

whichkey will automatically use the descriptions
2 years ago
siduck d2dec96ad6 add whichkey groups back 2 years ago
siduck 0b83d9cc0c shorten some mapping functions in utils.lua 2 years ago
Akianonymus f4655e13ec mappings: Only set mappings if the plugin is enabled
format files

fix some lsp warnings
2 years ago
Akianonymus d7b97dfe63 utils: Improve remove_default_keys function
undo this black magic
2 years ago
siduck 6f0aa376a8 set shiftwidth to 2 | format all files
big thanks to @ghifarit53
2 years ago
Akianonymus b9f0e4623e mappings: Add back mappings removed in 0844431d37 | Format files 2 years ago
Leon Heidelbach 7b683eaf63 fix: only access mapping_info.opts field if possible 2 years ago
siduck 5339bc42ae clean stuff
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
2 years ago
siduck d4c71e1472 fix hidden buffer tabs not showing in tabufline with less space
credits to @ii14 for helping me fix this issue
2 years ago
siduck ae77406a64 fix #1276 2 years ago
siduck 519a2df1a0 clean up 2 years ago
tomasky 6ff356ae93 fix: let override function works,fix #1287 #1278 2 years ago
siduck 73cfdd7367 remove buf_loaded check
As this causes issues (buf switching i.e tbufbnext/tbufprev) not working properly when nvim is opened with multiple files dbb3439982 (commitcomment-77092312)
2 years ago
siduck 33550e9587 add options for tabufline : enabled, lazyload, override | fix (#1274) 2 years ago
siduck 62b9c09f44 fix tabufline crash when formatting buf | (#1265) 2 years ago
siduck 845d5b4866 write own lightweight tabufline | remove bufferline 2 years ago
Chris 2138c846be Fix Plugin Override Function Capabilities
In order to ensure that plugin configuration that is overridden with a
function instead of a table is still merged with the default plugin
configuration, this commit splits up the if/elseif/else statement in
lua/core/utils.lua.

This is necessary as we want to take the resulting table returned from
the override function and merge it with the default_table before setting
up the plugin.

Fixes [this issue](https://github.com/NvChad/NvChad/issues/1239)
2 years ago
Leon Heidelbach 7bb3afbb96 feat: add warning message when using PackerSync on snapshot branches 2 years ago
siduck 9bca3eacae clean config | fix (#1225) (#1226) 2 years ago
zbirenbaum 6bb209a834 fix #1215 2 years ago
a690700752 771046a738 feature: make override can be a function 2 years ago
siduck 0bde81a074 Improve startuptime | remove un-needed plugins | lazy load plugin highlights 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
2 years ago
siduck 48b1226961 write own statusline | remove feline 2 years ago
siduck f78dc30508 minor improvements to startuptime 2 years ago
siduck 1381e924cf fix no lspmappings without custom mappings | 0f013d4e7b (commitcomment-74845391) 2 years ago
siduck cb97cef2a7 remove usage of globals for util functions 2 years ago
siduck 0f013d4e7b Breaking change for non-whichkey users | Refactor mapping functions 2 years ago
Leon Heidelbach f8b5571466 fix: fixed lspconfig issues and cleaned up 2 years ago
Leon Heidelbach 5ba309a0df fix: moved lsp mappings to lspconfig to only be set on lsp attach 2 years ago
siduck a2ff5c285e avoid un-needed lazy loading of packer | improve packer bootstrapping 2 years ago
siduck ed68c4b07d rm un-needed mappings 2 years ago
Leon Heidelbach 5716bbcca0 fix: which-key group names can now be properly set with M.groups & refactoring 2 years ago
Leon Heidelbach ec62a5cee8 fix: handle bug when which-key is not installed 2 years ago
Leon Heidelbach 3fc888c147 fix: remove disabled maps from which-key again 2 years ago
Leon Heidelbach 0e8c73527c fix: handled bug when no mappings table was set in chadrc 2 years ago
Leon Heidelbach 1bc1d9c52a fix: disabled key maps are now completely removed from which-key 2 years ago
Leon Heidelbach 96cd08ef45 fix: default mappings can now be properly disabled, independent of load order 2 years ago
siduck 25305eca92 clean up 2 years ago
siduck 0844431d37 breaking change : re-implement custom mappings | simplify it | add whichkey
fixes #1057 , #1047
2 years ago
Arman.H 5a1240be82 refactor: add utils to the global scope 2 years ago