Gary Murray
33830f1e7d
feat(lsp): add diagnostic signs to lsp options ( #2192 )
...
Co-authored-by: Gary Murray <gamurray@fanatics.com>
2024-01-21 19:35:24 +01:00
Folke Lemaitre
8baf9b5459
fix(lsp): fix inlay hints for older nightlies. See #2007
2023-11-30 21:24:07 +01:00
Folke Lemaitre
e229988a98
fix(lsp): inlay hints on stable. See #2007
2023-11-30 20:17:07 +01:00
Gary Murray
6853b785d9
fix(lsp): detect if using nvim-0.10 and use new inlay_hint.enable method ( #2007 )
...
* Detect if using nvim 0.10 and use new inlay_hint.enable method
* Add lsp util for inlay-hints and update keymap
* Remove the need to check vim version
* Support older nightly builds
* Move inlay_hint toggle in Util.toggle
---------
Co-authored-by: Gary Murray <gamurray@fanatics.com>
2023-11-30 19:53:40 +01:00
Folke Lemaitre
5b89bc8cbf
fix(lsp): trigger FileType commands after installing LSP servers
2023-10-14 16:56:18 +02:00
Phúc H. Lê Khắc
873ff89284
fix(keymaps): no diagnostic keymaps w/o lsp attached ( #1698 )
2023-10-13 16:53:55 +02:00
Folke Lemaitre
14c091b1fc
feat!: make conform.nvim
and nvim-lint
the default formatters/linters
2023-10-12 11:48:02 +02:00
Folke Lemaitre
f1a8f24a36
feat(format): new LazyVim formatter with integrations for lsp/none-ls/conform/eslint/...
2023-10-12 11:48:02 +02:00
Folke Lemaitre
c8c929c9fd
perf(util): split lazyvim.util in smaller separate modules
2023-10-12 11:48:02 +02:00
Folke Lemaitre
2c658a374d
style(cmp): dont include cmp-nvim-lsp as a dep of lspconfig
2023-10-09 11:34:58 +02:00
Folke Lemaitre
6b837e9165
style: lua annotations and handle deprecated methods
2023-10-08 10:45:38 +02:00
Folke Lemaitre
1bc78272da
feat(keymaps): added support for lazy's per-mode keymap disabling
2023-10-08 10:15:28 +02:00
Folke Lemaitre
936d74bb61
perf: added support for LazyFile
event that properly loads file based plugins without blocking the ui
2023-10-04 10:45:10 +02:00
Folke Lemaitre
9b16770573
fix(format): moved formatting keymap to lua/lazyvim/config/keymaps.lua
2023-10-01 23:31:24 +02:00
Folke Lemaitre
e36f7d811c
feat(format): show warning when no formatter ran when using the format keymap
2023-10-01 23:30:56 +02:00
Folke Lemaitre
0b04e3908c
chore(format): removed format_notify option
2023-10-01 23:30:26 +02:00
Folke Lemaitre
0136bfa4b5
style: format
2023-09-30 18:10:29 +02:00
loqusion
1c878b9d06
fix(format): allow custom_format
to return early ( #1531 )
2023-09-30 17:48:19 +02:00
Folke Lemaitre
0e5ff5c0ab
fix(format): wrap custom formatter with error handler
2023-09-29 15:55:29 +02:00
Folke Lemaitre
f61a243d1a
feat(extras): added conform.nvim
extra you can use instead of null-ls/none-ls
2023-09-29 13:37:00 +02:00
Ahmed W
7cac6f064c
feat(null-ls)!: use none-ls instead of null-ls ( #1517 )
...
* FEATURE: use none-ls instead of null-ls
Fixes #1516
* fix(none-ls): automatically migrate null-ls to none-ls
* feat(config): show warning if user config contains renamed references
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-09-29 11:52:45 +02:00
Folke Lemaitre
fa6cbfc602
fix(lsp): don't install jsonls by default. It's part of the json extra
2023-09-28 11:33:45 +02:00
Zhizhen He
64c5848fe8
style: fix comment typo ( #1336 )
2023-08-29 18:02:45 +02:00
Maria José Solano
9a0543531d
fix(lsp): supports_method for checking inlay hint support ( #1195 )
2023-07-23 18:09:48 +02:00
Folke Lemaitre
b4b27e867c
fix(mason): add MasonUpdate to build
2023-07-16 10:42:14 +02:00
暮晨
1b0b6eb0e1
feat(lsp): add 'reuse_win' for reuse window in lsp definition keymap ( #1131 )
...
* feat(lsp): add 'reuse_win' for reuse window in lsp definition keymap
* fix: inline telescope require
2023-07-15 09:30:34 +02:00
Folke Lemaitre
9e8ce289d1
fix(neoconf): do neoconf setup in lspconfig setup. Fixes #1070
2023-07-12 20:01:43 +02:00
暮晨
3f68f44d72
fix(lsp-config): lsp-config error when nvim-cmp not enabled. ( #1095 )
...
* fix(lsp-config): lsp-config error when nvim-cmp not enabled.
* Update lua/lazyvim/plugins/lsp/init.lua
Co-authored-by: Jonas Holst Damtoft <Jomik@users.noreply.github.com>
---------
Co-authored-by: Jonas Holst Damtoft <Jomik@users.noreply.github.com>
2023-07-12 16:34:07 +02:00
Folke Lemaitre
a981682603
fix(lsp): update keymaps *after* registering capabilities
2023-07-02 17:37:13 +02:00
Folke Lemaitre
8ccc109e92
fix(lsp): fixup lsp keymaps
2023-07-02 14:34:36 +02:00
Folke Lemaitre
a46d47653e
feat(rust): refactor to allow easy user customization and keymaps
2023-07-02 12:46:29 +02:00
Folke Lemaitre
61e3ce8cdc
feat(lsp): custom lsp keymaps
2023-07-02 12:44:54 +02:00
Folke Lemaitre
36774c6058
fix(lsp): resolve keymap capabilities over all buffer clients
2023-07-02 12:43:16 +02:00
Folke Lemaitre
d0bc8b7dce
feat(lsp): added support to lsp keymaps for dynamic capabilities
2023-07-02 12:42:35 +02:00
Folke Lemaitre
089606b48d
fix(lsp): upstream inlay_hint rename
2023-06-30 20:44:39 +02:00
Folke Lemaitre
01c7eeebd0
feat: added support for the new builtin inlay hints
...
Enable with:
```lua
{"neovim/nvim-lspconfig", opts = {inlay_hints = {enabled = true}}}
```
2023-06-21 08:01:59 +02:00
Mike Duminy
2ec4da7fa5
fix(format): eslint should respect autoformat ( #897 )
2023-06-08 07:48:34 +02:00
Folke Lemaitre
5eccaeb992
feat(lsp): added nvim-lspconfig.opts.format_notify
. Enable this to debug formatter issues.
2023-05-26 10:51:07 +02:00
Folke Lemaitre
962fc6bab4
feat(lsp): added support for upcoming dynamic registration of formatters
2023-05-26 10:50:16 +02:00
Folke Lemaitre
4f2bb725be
refactor(mason): use new handlers opt
2023-05-25 14:24:29 +02:00
Folke Lemaitre
df6a0d3b10
style: removed deprecated option from neodev
2023-05-22 16:39:09 +02:00
Folke Lemaitre
eb143ebe11
fix(format): only do null-ls formatting logic when null-ls is availble. Fixes #684
2023-04-28 11:47:37 +02:00
Folke Lemaitre
d565684ade
feat(lsp): automatically resolve denols/tsserver conflicts if both are configured
2023-04-23 11:01:46 +02:00
Folke Lemaitre
ac1051686b
feat(lsp): added support for setting global lsp client capabilities
2023-04-19 19:58:05 +02:00
Folke Lemaitre
1caa27ba4a
fix(diagnostics): deepcopy diagnostic params. Fixes #621
2023-04-19 07:49:39 +02:00
Folke Lemaitre
17fe32e428
fix(lsp): properly check that diagnostics virtual_text is a table. Fixes #618
2023-04-19 07:21:52 +02:00
Folke Lemaitre
01a1b8e80d
feat(diagnostics): added support for setting prefix = "icons". Check the docs on how to enable
2023-04-18 20:00:02 +02:00
Folke Lemaitre
06c38c52a9
feat(diagnostics): show diagnostics source when more than one source is reporting diagnostics
2023-04-18 19:59:19 +02:00
Folke Lemaitre
0cb8974221
fix(lsp): gT => gy. keymap for goto type definition. Fixes #554
2023-04-16 22:35:14 +02:00
Folke Lemaitre
2d8116ef67
fix(lsp): gt -> gT. Fixes #554
2023-04-16 11:03:54 +02:00