105 Commits (b2e2b15b4532186cf11fcdb7dc1d6c1714f94e9f)

Author SHA1 Message Date
siduck b2e2b15b45 fix editorConfig indent opts not applying on certain fts #2633 5 months ago
Sidhanth Rathod 5748536742
performance: avoid reloading config table #2360 (#2444)
* performance: avoid reloading config (#2360)

* performance: avoid reloading config

* Rm outdated info in readme

---------

Co-authored-by: Sidhanth Rathod <siduck@tutanota.com>

* update nvchad load_config result path

* update branch names

---------

Co-authored-by: georgejean <jeangeorge385@yahoo.fr>
8 months ago
Zhong Jianxin e3bb39106e
Fix default mappings not load if chadrc.lua does not exist (#2037)
* Fix default mappings not load if chadrc.lua does not exist

The regression was introduced by dab9171e64

Fix #1961 #2025

* clean up!

---------

Co-authored-by: siduck <siduck@tutanota.com>
1 year ago
siduck f873d3cc50 add an option for lsp_semantic_tokens hl groups | fix (#1907)
also tiden up some stuff
1 year ago
siduck dab9171e64 put all core stuff in core.init only 1 year ago
siduck 6590372791 BREAKING CHANGE: utilize lazy.nvim fully, remove un-needed functions 1 year ago
siduck 2ee1ada911 reduce some LOC 1 year ago
siduck 1b8eff7516 migrate to lazy.nvim 1 year ago
Sidhanth Rathod bdd142dbd6 clean load_config function
based on @ii14 's comment https://github.com/NvChad/NvChad/pull/1704#discussion_r1040655958
2 years ago
Matt 78b2cc3106 ensure errors arent silently swallowed in custom chadrc if exists 2 years ago
siduck 08453985ca rm un-needed lazyload function 2 years ago
siduck 4971e07f6a rm support for ooold plugin syntax 2 years ago
siduck 83572cc15b move tabufline related functions to ui repo 2 years ago
siduck 2e5aa786ef add an option to avoid using default plugin defintion opts (#1559) 2 years ago
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