Commit Graph

49 Commits

Author SHA1 Message Date
Waldir Borba Junior 80c99fed33
Update lspconfig.lua
Organize unused imports for GOLang
2022-06-06 10:18:22 -03:00
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
siduck76 28015f639c change keys for lsp signature help mapping 2021-08-29 10:04:50 +05:30
siduck76 0e09c3f471 rm extra space from statusline icons 2021-08-27 13:48:04 +05:30
siduck76 475a4c5f38 replace compe with cmp 2021-08-27 06:44:58 +05:30
siduck76 3dc1db884c disable some plugins by default 2021-08-25 05:11:55 +05:30
ashincoder 2f61dbfcd8 feat: Added border for lsp hover doc 2021-08-24 13:32:11 +05:30
siduck76 7d74ca4767 use default lspconfig 2021-08-24 11:01:01 +05:30
Cam Cope bce7e624e2 Add LSP code action mappings
Tested with rust-analyzer
2021-08-24 09:27:21 +05:30
siduck76 b2ec48ef30 avoid using global function : lspconfig 2021-08-23 16:06:02 +05:30
Akianonymus 9ffddb6b52 Restructure config | Move some to a packer plugin | Lot of cleanup
* move teleacope files, updater and related utils to
  https://github.com/NvChad/core

* restructure config file and directory structure

* expose mappings for better escape

* allow multiple mappings for some

* improve merge table function for the same

* move autocommands to a seperate file

* rearrange everything alphabetically where sanely possible

* rearrange packer plugin list on the basis of trigerred state

config structure now

 .
├──  init.lua
├──  LICENSE
├──  lua
│  ├──  chadrc.lua
│  ├──  colors
│  │  ├──  highlights.lua
│  │  ├──  init.lua
│  │  └──  themes
│  │     ├──  chadracula.lua
│  │     ├──  everforest.lua
│  │     ├──  gruvchad.lua
│  │     ├──  javacafe.lua
│  │     ├──  mountain.lua
│  │     ├──  norchad.lua
│  │     ├──  one-light.lua
│  │     ├──  onedark.lua
│  │     ├──  tokyonight.lua
│  │     └──  tomorrow-night.lua
│  ├──  core
│  │  ├──  autocmds.lua
│  │  ├──  init.lua
│  │  ├──  mappings.lua
│  │  ├──  options.lua
│  │  └──  utils.lua
│  ├──  default_config.lua
│  └──  plugins
│     ├──  configs
│     │  ├──  autopairs.lua
│     │  ├──  autosave.lua
│     │  ├──  bufferline.lua
│     │  ├──  chadsheet.lua
│     │  ├──  compe.lua
│     │  ├──  dashboard.lua
│     │  ├──  gitsigns.lua
│     │  ├──  icons.lua
│     │  ├──  lspconfig.lua
│     │  ├──  luasnip.lua
│     │  ├──  nvimtree.lua
│     │  ├──  others.lua
│     │  ├──  statusline.lua
│     │  ├──  telescope.lua
│     │  ├──  treesitter.lua
│     │  └──  zenmode.lua
│     ├──  init.lua
│     └──  packerInit.lua
└──  README.md
2021-08-22 17:54:10 +05:30
Renamed from lua/plugins/lspconfig.lua (Browse further)