siduck
2ee1ada911
reduce some LOC
2023-01-29 23:30:13 +05:30
siduck
1b8eff7516
migrate to lazy.nvim
2023-01-07 13:41:43 +05:30
Sidhanth Rathod
bdd142dbd6
clean load_config function
...
based on @ii14 's comment https://github.com/NvChad/NvChad/pull/1704#discussion_r1040655958
2022-12-17 16:55:58 +05:30
Matt
78b2cc3106
ensure errors arent silently swallowed in custom chadrc if exists
2022-12-17 16:55:58 +05:30
siduck
08453985ca
rm un-needed lazyload function
2022-11-17 07:00:36 +05:30
siduck
4971e07f6a
rm support for ooold plugin syntax
2022-11-15 18:54:21 +05:30
siduck
83572cc15b
move tabufline related functions to ui repo
2022-09-15 07:51:13 +05:30
siduck
2e5aa786ef
add an option to avoid using default plugin defintion opts ( #1559 )
2022-09-12 07:53:07 +05:30
siduck
8a18f89b03
install binaries from mason.nvm & tsparsers automatically after nvchad install
2022-09-11 01:07:44 +05:30
Rik034
3df9c03eb5
Fixed notify_once() call
2022-09-09 14:56:54 +05:30
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>
2022-09-09 09:39:57 +05:30
siduck
d61946d3bf
Simplify plugin management even more ( #1518 )
2022-09-09 09:39:57 +05:30
siduck
bf827e0ebd
fix #1516 #1517
...
an autocmd can be used for formatoptions and avoid using bw, read the convo at 39c42ca2bf (r82388570)
2022-08-28 09:14:09 +05:30
Akianonymus
130442712b
Fix some lsp warnings
2022-08-19 10:46:44 +05:30
Akianonymus
5e81ae8379
utils: close_buffer: Ask for confirmation when using on modified files
...
neovim handles this internally so why not use it
2022-08-19 10:46:44 +05:30
Akianonymus
ce86597c3d
utils: bufilter: Check for nil
...
it will be empty if tabufline is disabled
2022-08-19 10:46:44 +05:30
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
2022-08-12 22:00:07 +05:30
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
2022-08-11 22:53:17 +05:30
siduck
d2dec96ad6
add whichkey groups back
2022-08-07 08:50:36 +05:30
siduck
0b83d9cc0c
shorten some mapping functions in utils.lua
2022-08-07 08:25:07 +05:30
Akianonymus
f4655e13ec
mappings: Only set mappings if the plugin is enabled
...
format files
fix some lsp warnings
2022-08-07 08:09:32 +05:30
Akianonymus
d7b97dfe63
utils: Improve remove_default_keys function
...
undo this black magic
2022-08-07 08:09:32 +05:30
siduck
6f0aa376a8
set shiftwidth to 2 | format all files
...
big thanks to @ghifarit53
2022-07-22 16:00:00 +00:00
Akianonymus
b9f0e4623e
mappings: Add back mappings removed in 0844431d37
| Format files
2022-07-14 15:44:10 +05:30
Leon Heidelbach
7b683eaf63
fix: only access mapping_info.opts field if possible
2022-07-12 18:34:22 +02:00
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
2022-07-12 21:54:25 +05:30
siduck
d4c71e1472
fix hidden buffer tabs not showing in tabufline with less space
...
credits to @ii14 for helping me fix this issue
2022-06-29 10:17:28 +05:30
siduck
ae77406a64
fix #1276
2022-06-28 20:09:02 +05:30
siduck
519a2df1a0
clean up
2022-06-28 11:11:19 +05:30
tomasky
6ff356ae93
fix: let override function works,fix #1287 #1278
2022-06-28 11:11:19 +05:30
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)
2022-06-27 20:11:20 +05:30
siduck
33550e9587
add options for tabufline : enabled, lazyload, override | fix ( #1274 )
2022-06-27 07:16:33 +05:30
siduck
62b9c09f44
fix tabufline crash when formatting buf | ( #1265 )
2022-06-26 06:24:52 +05:30
siduck
845d5b4866
write own lightweight tabufline | remove bufferline
2022-06-24 19:24:59 +05:30
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 )
2022-06-20 05:15:49 +05:30
Leon Heidelbach
7bb3afbb96
feat: add warning message when using PackerSync on snapshot branches
2022-06-20 01:30:42 +02:00
siduck
9bca3eacae
clean config | fix ( #1225 ) ( #1226 )
2022-06-18 09:57:17 +05:30
zbirenbaum
6bb209a834
fix #1215
2022-06-16 00:01:15 -04:00
a690700752
771046a738
feature: make override can be a function
2022-06-15 17:56:50 +05:30
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
2022-06-14 17:36:27 +05:30
siduck
48b1226961
write own statusline | remove feline
2022-06-05 19:11:26 +05:30
siduck
f78dc30508
minor improvements to startuptime
2022-06-01 00:49:23 +05:30
siduck
1381e924cf
fix no lspmappings without custom mappings | 0f013d4e7b (commitcomment-74845391)
2022-05-29 20:26:16 +05:30
siduck
cb97cef2a7
remove usage of globals for util functions
2022-05-29 16:07:47 +05:30
siduck
0f013d4e7b
Breaking change for non-whichkey users | Refactor mapping functions
2022-05-29 15:10:33 +05:30
Leon Heidelbach
f8b5571466
fix: fixed lspconfig issues and cleaned up
2022-05-27 06:07:28 +05:30
Leon Heidelbach
5ba309a0df
fix: moved lsp mappings to lspconfig to only be set on lsp attach
2022-05-27 06:07:28 +05:30
siduck
a2ff5c285e
avoid un-needed lazy loading of packer | improve packer bootstrapping
2022-05-23 12:54:03 +05:30
siduck
ed68c4b07d
rm un-needed mappings
2022-05-21 12:33:19 +05:30
Leon Heidelbach
5716bbcca0
fix: which-key group names can now be properly set with M.groups & refactoring
2022-05-16 18:17:49 +05:30