Commit Graph

75 Commits

Author SHA1 Message Date
siduck d58ec3f55d properly disable lsp signature
https://github.com/NvChad/ui/pull/188#issuecomment-1735510051
2023-09-26 18:51:34 +05:30
siduck 46a61073a8 clean up 2023-08-09 20:29:50 +05:30
siduck 8ea74bc23b update some module paths 2023-08-09 20:22:46 +05:30
siduck d73d155287 disable semantic tokens only if the LSP supports it 2023-06-11 19:52:47 +05:30
siduck e1631629b9 disable LSPs inbuilt formatting by default | FIX (#2016)
We mostly use null-ls for the formatting but if our current lsp server supports formatting then the null-ls one wouldnt work and we would never get an error etc or prompt to use null-ls formatter which is scaryy!! so disabling the formatting on lsp server by default
2023-05-12 20:33:16 +05:30
siduck fdb3ddb806 rm un-needed code 2023-04-23 08:06:02 +05:30
siduck af123eee4d handle semantic_tokens on lsp_attach based on chadrc option (#1907) 2023-04-10 07:21:07 +05:30
siduck 27455fd2c2 misc 2023-02-26 10:17:45 +05:30
Lucario387 09001369f3 Add lazy.nvim to workspace library 2023-02-20 16:35:01 +05:30
ariefra 7daf171948 Fix sumneko_lua deprecation, change to lua_ls 2023-02-12 18:29:31 +05:30
siduck 205802b49f add nvchad_types to sumenko lsp config
also remove nvimtree depreceated option
2023-01-31 13:08:39 +05:30
siduck 4990b23935 use dofile to load cached theme files 2023-01-29 21:36:54 +05:30
siduck 2b94bb92e0 clean config & rm un-needed pcalls 2023-01-25 20:11:55 +05:30
siduck d27029d1b1 load base46_cache in instead of minified modules 2022-11-19 11:45:33 +05:30
siduck f77d052d70 change highlight loading function name 2022-11-17 19:26:43 +05:30
siduck 00be26275e keep some gitsigns mappings only | rm 0.7v related stuff 2022-10-07 19:26: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
siduck 429ce94da1 store vim version in global for v0.8 compatibility checks
so we dont have to run vim.version() function in many places of the config cuz we will be making nvchad 0.8 compatible too bit by bit
2022-07-26 13:05:58 +00:00
siduck a83ebc34e5 Breaking Change : LSPInstaller is dead so use mason.nvim
(#1368)
2022-07-25 13:49:33 +00:00
siduck 26fc9b5a6c Breaking change : easen up custom lspconfig setup
before we were using variables/fields to setup custom lspconfig but today I realized that we dont even need that, we can just modify default lspconfigs config
2022-07-24 10:45:14 +00:00
siduck 6f0aa376a8 set shiftwidth to 2 | format all files
big thanks to @ghifarit53
2022-07-22 16:00:00 +00:00
siduck 74f2efca9f BREAKING Change for statusline_separator & tabufline overriders
moved statusline & tabufline into a new plugin to keep the base config clean and fix issues like (#1307)
2022-07-15 09:37:12 +05:30
siduck fb9a7b9206 add nvchad ui plugin 2022-07-14 17:42:00 +05:30
Thieu Nguyen 1500ff1516 enhancement: update lsp syntax to support both stable and nightly 2022-07-06 09:00:21 +05:30
siduck 9bca3eacae clean config | fix (#1225) (#1226) 2022-06-18 09:57:17 +05:30
zbirenbaum dac05df972 Fix deprecation notice on nightly 2022-06-16 00:15:17 -04:00
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 1f4f614415 rm non-existent gloabl from sumneko_lua conf
https://github.com/NvChad/NvChad/issues/1162#issuecomment-1143369271
2022-06-01 16:22:20 +05:30
siduck 1a1bc99f1b misc 2022-05-29 16:21:17 +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
siduck cdf18fd334 clean 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 c7cfacd360 register lsp mappings for buffer only 2022-05-27 06:07:28 +05:30
siduck ed68c4b07d rm un-needed mappings 2022-05-21 12:33:19 +05:30
siduck 970ddf79e5 add: LspInfo window borders 2022-05-14 11:18:29 +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
siduck c0ca91cb92 add nvchad string to sumneko globals 2022-05-10 20:41:37 +05:30
Arman.H 5a1240be82 refactor: add utils to the global scope 2022-05-10 20:15:08 +05:30
siduck cb86c87e88 add lsp-installer because its bette than before now! 2022-05-04 06:55:36 +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 841f839bb6 Revert "fix: set LSP mappings only for buffers that have a configured language server (#1004)"
This reverts commit a8466ccf4c.
2022-05-01 18:24:40 +05:30
Arman.H a8466ccf4c fix: set LSP mappings only for buffers that have a configured language server 2022-04-29 22:04:05 +05:30
ahhshm 83a044e903 chore: disable omnifunc 2022-04-29 21:16:43 +05:30
siduck adecbe719f BREAKING CHANGE | re-implementation of custom config 2022-04-27 21:12:28 +05:30
Freyskeyd 4ad0bf1b22 Exposing on_attach to configure plugins in custom
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
2022-03-13 18:33:51 +05:30
Daniel Boll ef6ecab861 fix(null-ls): stop null-ls prompt for multiple formaters
add `client.resolved_capabilities.{document_formatting,document_range_formatting}` to on_attach of lspconfig in order to eliminate null-ls prompt for 2 formaters. Not tested with more formaters like in python, I'd say that then it'll prompt still

Signed-off-by: Daniel Boll <danielboll.academico@gmail.com>
2022-03-07 19:18:14 +05:30
siduck 71295f9b61 re-add lspconfig capabilities 2022-02-02 22:26:04 +05:30
siduck ee5b79d3d4 fix (#740) | lazy load lspconfig on nvim_cmp_lsp module 2022-01-26 20:17:44 +05:30