Commit graph

59 commits

Author SHA1 Message Date
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
Danilo Horta
31e551af30 Make lspconfig mappings configurable. 2021-12-19 06:17:13 +05:30
siduck
abcd035e89 make lsphandlers overridable 2021-12-15 20:27:54 +05:30
siduck
8de3f4e84c restructure init.lua | lspconfig 2021-11-14 06:49:33 +05:30
siduck
c8a27d701c cleanup! 2021-11-13 21:59:31 +05:30
siduck
fd668e559e add option for overriding highlights (#596) 2021-11-09 06:22:51 +05:30
siduck76
e8bbe1e4a1 Revert "update : capabalities cmp stuff in lspconfig | load cmp_lsp after lspconfig"
This reverts commit 86d92a2fd2.
2021-10-09 11:17:21 +05:30
siduck76
86d92a2fd2 update : capabalities cmp stuff in lspconfig | load cmp_lsp after lspconfig 2021-10-05 06:59:00 +05:30
Ashin Antony
b2cd5e38f5 fix: fix issue #455.
1. Show line diagnostics have been changed to `ge`. Since there are keybindings starting with g. Also `ge` is fast very useful for this reason.
2021-10-02 12:16:21 +05:30
siduck76
a1c234e001 clean : debloat config | rm un-needed plugins 2021-10-02 10:41:50 +05:30
github-actions[bot]
bcb4b15669 chore: format source code 2021-09-30 04:23:09 +00:00
siduck76
1756c92609 refactor : separate lspconfig setups 2021-09-30 09:51:00 +05:30
siduck76
0b55d45845 rm neoformat plugin 2021-09-29 22:34:22 +05:30
github-actions[bot]
3d0a0e53f7 chore: format source code 2021-09-24 19:11:55 +05:30
Galen Rowell
9961cc0113 refactor: clean & re-organise default_config + chadrc
this completely overhauls the design of the two configuration files,
aiming to move options & various tables into a more sensible table structure

BREAKING CHANGE: this will break any user modificiations to the current
config
2021-09-24 19:11:55 +05:30
Morten Olsen
eced5f2ec4 feat: Hook based overrides 2021-09-24 19:11:55 +05:30
siduck76
4c025cd1bf debloat config | remove lspinstall 2021-09-10 15:40:54 +05:30