Commit Graph

68 Commits

Author SHA1 Message Date
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
Leon Heidelbach ec62a5cee8 fix: handle bug when which-key is not installed 2022-05-15 19:15:23 +05:30
Leon Heidelbach 3fc888c147 fix: remove disabled maps from which-key again 2022-05-15 18:04:15 +05:30
Leon Heidelbach 0e8c73527c fix: handled bug when no mappings table was set in chadrc 2022-05-14 23:15:45 +05:30
Leon Heidelbach 1bc1d9c52a fix: disabled key maps are now completely removed from which-key 2022-05-14 18:34:08 +05:30
Leon Heidelbach 96cd08ef45 fix: default mappings can now be properly disabled, independent of load order 2022-05-14 08:01:09 +05:30
siduck 25305eca92 clean up 2022-05-12 19:27:11 +05:30
siduck 0844431d37 breaking change : re-implement custom mappings | simplify it | add whichkey
fixes #1057 , #1047
2022-05-12 18:26:01 +05:30
Arman.H 5a1240be82 refactor: add utils to the global scope 2022-05-10 20:15:08 +05:30
siduck c74b049408 Update utils.lua 2022-05-05 15:02:48 +05:30
Akianonymus 382eb7c60e utils.lua: Improve plugin_list function
require strings if given, if succesfull then use that table
2022-05-05 15:02:48 +05:30
siduck 492fee1979 clean stuff 2022-05-05 14:57:36 +05:30
Arman.H 174873b41f refactor: remove unnecessarry keymap option 2022-05-03 20:01:14 +05:30
siduck 02d545cd42 breaking change: moved highlight stuff to base16 repo | rewrote whole base16 repo
Just run :PackerSync, check https://nvchad.github.io/config/Custom%20config#local-themes and the section below it for newly added features
2022-05-03 00:13:38 +05:30
siduck 9ae7c2aff3 fix error while closing file (#1002) 2022-05-01 08:01:47 +05:30
zbirenbaum d16546acac fix #977 2022-04-29 19:14:50 -04:00
siduck 83fe03455e
fix (#989)
Prevents auto-focus of nvimtree when there are multiple buffers opened and current buffer is closed
2022-04-29 22:33:18 +05:30
zbirenbaum 95951c86a9 add back ability to remove plugins 2022-04-29 10:40:36 +05:30
zbirenbaum 36a25ded76 fix <leader>x not closing nvim-tree 2022-04-28 04:06:38 -04:00
siduck adecbe719f BREAKING CHANGE | re-implementation of custom config 2022-04-27 21:12:28 +05:30
Justin Perez 6061f9455d Typecheck return value of chadrc; propagate errors
* Don't blindly assume the only way `require "custom/chadrc.lua" can
  fail is that the file doesn't exist.
* Provide user with a more useful message when return value is wrong
2022-04-10 17:48:10 +05:30
zbirenbaum 76d194b141 fix for getting config settings from plugin table 2022-02-20 11:46:06 +05:30
zbirenbaum 4be722d4a6 fix global variable causing issues 2022-02-15 08:12:51 +05:30
zbirenbaum f81531df42 improve method of adding and removing plugins 2022-02-14 16:11:41 +05:30
siduck 1f73ef0ec6 clean remove_default_plugins function 2022-01-31 14:13:51 +05:30
Akianonymus 6b06bb9ed4 Remove duplicate code, missed in d8dabe9 | Format files 2022-01-31 11:13:31 +05:30
zbirenbaum e87c10f225 fix for removals 2022-01-31 08:07:09 +05:30
zbirenbaum 4b68a75853 added helper functions for removing plugins from default plugin table 2022-01-31 07:08:15 +05:30
zbirenbaum 4077ff3520 fixed chadrc string overrides calling default function parameter. Added ability to use function as config override 2022-01-22 10:15:38 +05:30
Akianonymus bccd8e4ab9 utils: Improve override functions | Fix nvimtree and statusline config |
Misc

* make more things configurable
* use more generic variable names
* handle some edgecases
* cleanup
* format files
2022-01-22 10:15:38 +05:30
zbirenbaum cf7f8a557a added helper function to support partial plugin config overrides via tables in chadrc 2022-01-22 10:15:38 +05:30
zbirenbaum 1e6f9a2e52 fix errors thrown by neovim no longer allowing implicit conversions of nil to 0 in api function calls. See neovim/neovim#16745 for details on why this is now an error 2022-01-04 06:39:27 +05:30