Commit graph

81 commits

Author SHA1 Message Date
siduck
4b1bca5303 clean mapping syntax 2024-02-25 08:43:48 +05:30
siduck
b2e2b15b45 fix editorConfig indent opts not applying on certain fts #2633 2024-01-28 21:33:38 +05:30
Sidhanth Rathod
cc3289639b
Breaking Change for base46 extended_integrations | Improve syntax (#2459)
* 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 utils.lua

* update branch names

* Fix unreachable mappings for the lsp (#2443)

* add option for base46 integrations

* rm nvchad_theme global

* use correct conf path in lspconfig
 

---------

Co-authored-by: georgejean <jeangeorge385@yahoo.fr>
Co-authored-by: KorigamiK <72932688+KorigamiK@users.noreply.github.com>
2023-10-24 06:45:17 +05:30
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>
2023-10-16 07:24:14 +05:30
siduck
4a8fb69157 lspconfig file: place default conf in a function
This will make sure that whenever the onattach or capabilities is pulled from the default lspconfig file, thosse dofile etc code ( which is now in defautls func ) wont be called , like before.
2023-09-28 07:22:02 +05:30
siduck
1afbaef5c7 properly disable lsp signature 2023-09-26 20:41:19 +05:30
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