]> Sergey Matveev's repositories - vim-lsp.git/log
vim-lsp.git
11 months agoRearrange workspaceConfiguration call main
Sergey Matveev [Sat, 8 Apr 2023 13:22:07 +0000 (16:22 +0300)]
Rearrange workspaceConfiguration call

12 months agoAdd option to condense completion menu items. (#582)
berggeist [Tue, 21 Jan 2025 15:31:57 +0000 (16:31 +0100)]
Add option to condense completion menu items. (#582)

12 months agoSupport custom locations request (#587)
BenYip [Tue, 21 Jan 2025 15:27:32 +0000 (23:27 +0800)]
Support custom locations request (#587)

* Support custom locations request

* specify server name in FindLocations

* Rename LspFindLocations

12 months agoSet space to `<Space`> (#526)
Piotr Usewicz [Tue, 21 Jan 2025 06:29:53 +0000 (07:29 +0100)]
Set space to `<Space`> (#526)

Closes https://github.com/yegappan/lsp/issues/525

12 months agoUse a single line instead of multiple lines for a List
Yegappan Lakshmanan [Sun, 19 Jan 2025 06:29:41 +0000 (22:29 -0800)]
Use a single line instead of multiple lines for a List

12 months agoSupport optional diagnostic severity (#585)
Andrea Pappacoda [Fri, 17 Jan 2025 16:15:59 +0000 (17:15 +0100)]
Support optional diagnostic severity (#585)

The LSP specification defines the diagnostic severity as being optional,
defaulting to Error. Properly handle such cases.

This patch also complements commit
5b94bf7635de39979e81f9dace85b94d248a67e8, which fixed the issue but only
for when using the ALE integration. At the same time, it fixes it by
using severity Error as the default, rather than Information.

14 months agoUpdate README.md (#576)
DoI [Mon, 18 Nov 2024 16:01:18 +0000 (05:01 +1300)]
Update README.md (#576)

Minor change to read-me which makes the install commands copy-paste-able into a terminal

14 months agoAdd support for scrolling the symbol popup window
Yegappan Lakshmanan [Sat, 16 Nov 2024 16:46:08 +0000 (08:46 -0800)]
Add support for scrolling the symbol popup window

14 months agoexport function (#561)
Enno [Fri, 15 Nov 2024 18:29:23 +0000 (19:29 +0100)]
export function (#561)

15 months agoDo not check for digits in request.id (#572)
julien castelain [Mon, 11 Nov 2024 03:20:55 +0000 (04:20 +0100)]
Do not check for digits in request.id (#572)

16 months agoAdd proper support for the 'window/showMessageRequest' message
Yegappan Lakshmanan [Thu, 3 Oct 2024 05:47:09 +0000 (22:47 -0700)]
Add proper support for the 'window/showMessageRequest' message

16 months agoAdd the ':LspDiag highlight toggle' command
Yegappan Lakshmanan [Tue, 1 Oct 2024 02:13:06 +0000 (19:13 -0700)]
Add the ':LspDiag highlight toggle' command

16 months agoAdd support for toggling inlay hints
Yegappan Lakshmanan [Mon, 23 Sep 2024 03:12:08 +0000 (20:12 -0700)]
Add support for toggling inlay hints

16 months agoIn insert and replace modes, use internal formatting
Yegappan Lakshmanan [Mon, 23 Sep 2024 02:59:24 +0000 (19:59 -0700)]
In insert and replace modes, use internal formatting

16 months agoUse the LSPBufferAutocmds group for the internal LspServerReady autocmd
Yegappan Lakshmanan [Sun, 22 Sep 2024 16:32:57 +0000 (09:32 -0700)]
Use the LSPBufferAutocmds group for the internal LspServerReady autocmd

16 months agoSome LSP servers return null for the codeLensProvider capability
Yegappan Lakshmanan [Sun, 22 Sep 2024 04:25:51 +0000 (21:25 -0700)]
Some LSP servers return null for the codeLensProvider capability

16 months agofix: wrap `didSaveFile` method with `try-finally` block (#495)
Maxim Yurevich [Sun, 22 Sep 2024 00:34:35 +0000 (03:34 +0300)]
fix: wrap `didSaveFile` method with `try-finally` block (#495)

16 months agoUse a copy of the server list when restarting (#540)
Nick Jensen [Sun, 22 Sep 2024 00:19:42 +0000 (12:19 +1200)]
Use a copy of the server list when restarting (#540)

If the original server list is used, it is cleared during the step of
removing filetype buffers, so no servers are actually restarted, as the
`lspservers` list is empty by the time the `for` loop is reached.

16 months agosimplify the LSP server name comparison
Yegappan Lakshmanan [Sun, 22 Sep 2024 00:01:56 +0000 (17:01 -0700)]
simplify the LSP server name comparison

16 months agoadd lsp format operator mapping (#546)
Enno [Sat, 21 Sep 2024 23:57:31 +0000 (01:57 +0200)]
add lsp format operator mapping (#546)

* add lsp format operator mapping

* document normal mode lspformat mapping

* convert legacy to vim9 script

16 months agoFix adding server multiple time (#531)
Quan Nguyen [Sat, 21 Sep 2024 23:52:19 +0000 (08:52 +0900)]
Fix adding server multiple time (#531)

16 months ago:LspFold doesn't fold the right set of lines
Yegappan Lakshmanan [Sat, 21 Sep 2024 21:07:08 +0000 (14:07 -0700)]
:LspFold doesn't fold the right set of lines

16 months agoUse an older version of the rust analyzer in the CI tests
Yegappan Lakshmanan [Sat, 21 Sep 2024 05:11:14 +0000 (22:11 -0700)]
Use an older version of the rust analyzer in the CI tests

16 months agoIgnore the select callback in an empty document symbol popup window
Yegappan Lakshmanan [Sat, 21 Sep 2024 01:10:47 +0000 (18:10 -0700)]
Ignore the select callback in an empty document symbol popup window

17 months agoFormat code fragments appropriately (#547)
Ali Bazrafshan [Tue, 10 Sep 2024 15:08:23 +0000 (18:38 +0330)]
Format code fragments appropriately (#547)

17 months agoFix typo in doc (#549)
Ali Bazrafshan [Tue, 10 Sep 2024 15:07:13 +0000 (18:37 +0330)]
Fix typo in doc (#549)

17 months agoDo not require diagnostic severity for ale (#534)
Magnus Groß [Tue, 10 Sep 2024 15:04:25 +0000 (17:04 +0200)]
Do not require diagnostic severity for ale (#534)

Some LSPs like for example neocmakelsp [0] do not mark the diagnostics
with a severity, which would throw an error:

```
Error detected while processing function <SNR>66_Output_cb[5]..lsp#handlers#ProcessMess
ages[32]..lsp#handlers#ProcessNotif[52]..<SNR>67_ProcessDiagNotif[2]..lsp#diag#DiagNoti
fication[72]..lsp#diag#ProcessNewDiags[5]..<SNR>69_SendAleDiags[14]..<lambda>46:
line    6:
E716: Key not present in Dictionary: "severity"
```

To fix this, default to "INFO" severity level.

[0] https://github.com/Decodetalkers/neocmakelsp

19 months agoUnescape non-breaking spaces (#514)
David Dominguez [Fri, 14 Jun 2024 15:07:28 +0000 (11:07 -0400)]
Unescape non-breaking spaces (#514)

19 months agoAdd tags generation instruction to README and lsp.txt (#530)
Quan Nguyen [Fri, 14 Jun 2024 15:06:56 +0000 (00:06 +0900)]
Add tags generation instruction to README and lsp.txt (#530)

* Update README.md

Add tags file generation instruction.

* Update lsp.txt

21 months agoMerge pull request #498 from Shane-XB-Qian/feat_showMsgReq
Yegappan Lakshmanan [Wed, 8 May 2024 14:34:28 +0000 (07:34 -0700)]
Merge pull request #498 from Shane-XB-Qian/feat_showMsgReq

feat: tmp impl 'showMessageRequest'

21 months agoMerge pull request #482 from nickspoons/wrap-diagnostics
Yegappan Lakshmanan [Wed, 8 May 2024 14:31:39 +0000 (07:31 -0700)]
Merge pull request #482 from nickspoons/wrap-diagnostics

Add LspDiag nextWrap and prevWrap command args

22 months agoAdd tests for :LspDiag nextWrap/prevWrap
Nick Jensen [Mon, 8 Apr 2024 01:54:30 +0000 (13:54 +1200)]
Add tests for :LspDiag nextWrap/prevWrap

22 months agofeat: tmp impl 'showMessageRequest'
shane.xb.qian [Sun, 7 Apr 2024 13:31:57 +0000 (21:31 +0800)]
feat: tmp impl 'showMessageRequest'

22 months agoInclude new args in test assertion
Nick Jensen [Thu, 4 Apr 2024 19:23:06 +0000 (08:23 +1300)]
Include new args in test assertion

22 months agoMerge pull request #494 from maximyurevich/main
Yegappan Lakshmanan [Thu, 4 Apr 2024 14:08:39 +0000 (07:08 -0700)]
Merge pull request #494 from maximyurevich/main

fix: ignore unsupported notification messages from tailwindcss-language-server

22 months agofix: ignore unsupported notification messages from tailwindcss-language-server
Maxim Yurevich [Wed, 3 Apr 2024 11:11:08 +0000 (14:11 +0300)]
fix: ignore unsupported notification messages from tailwindcss-language-server

22 months agoMerge pull request #492 from plainbowstring/main
Yegappan Lakshmanan [Sun, 31 Mar 2024 16:23:52 +0000 (09:23 -0700)]
Merge pull request #492 from plainbowstring/main

ignore unsupported notification messages from omnisharp language server

22 months agoignore unsupported notification messages from omnisharp language server
plainbowstring [Sun, 31 Mar 2024 12:43:44 +0000 (23:43 +1100)]
ignore unsupported notification messages from omnisharp language server

22 months agoAdd LspDiag nextWrap and prevWrap command args
Nick Jensen [Mon, 18 Mar 2024 22:03:23 +0000 (11:03 +1300)]
Add LspDiag nextWrap and prevWrap command args

22 months agoMerge pull request #475 from girishji/main
Yegappan Lakshmanan [Fri, 15 Mar 2024 15:03:06 +0000 (08:03 -0700)]
Merge pull request #475 from girishji/main

bug: 'Lazy doc' completion broken for omnifunc

22 months ago'Lazy doc' completion broken for omnifunc
Girish Palya [Wed, 13 Mar 2024 18:53:48 +0000 (19:53 +0100)]
'Lazy doc' completion broken for omnifunc

pylsp was not displaying documentation from lsp server.
this fixes the problem

M  autoload/lsp/completion.vim

23 months agoWhen sending an executeCommand request to the server, don't send the title field
Yegappan Lakshmanan [Tue, 12 Mar 2024 14:42:04 +0000 (07:42 -0700)]
When sending an executeCommand request to the server, don't send the title field

23 months agoomni completion results in an error message after a opening parenthesis
Yegappan Lakshmanan [Mon, 26 Feb 2024 16:07:36 +0000 (08:07 -0800)]
omni completion results in an error message after a opening parenthesis

23 months agocompleteItems item may not be present in omnicompletion callback
Yegappan Lakshmanan [Sun, 25 Feb 2024 16:27:04 +0000 (08:27 -0800)]
completeItems item may not be present in omnicompletion callback

23 months agoMerge pull request #459 from ahnafalnafis/main
Yegappan Lakshmanan [Thu, 22 Feb 2024 15:14:31 +0000 (07:14 -0800)]
Merge pull request #459 from ahnafalnafis/main

Improve popup window

23 months agoAdd missing comma
Yegappan Lakshmanan [Wed, 21 Feb 2024 17:09:06 +0000 (09:09 -0800)]
Add missing comma

23 months agoWhen sending a successful response message to the LSP server, use a null instead...
Yegappan Lakshmanan [Wed, 21 Feb 2024 16:09:52 +0000 (08:09 -0800)]
When sending a successful response message to the LSP server, use a null instead of an empty Dict

23 months agoImprove popup window
Ahnaf Al Nafis [Tue, 20 Feb 2024 15:59:25 +0000 (21:59 +0600)]
Improve popup window

23 months agoAdd support for the LspSetup user autocmd to add language servers and to set options...
Yegappan Lakshmanan [Wed, 14 Feb 2024 06:47:56 +0000 (22:47 -0800)]
Add support for the LspSetup user autocmd to add language servers and to set options after the plugin is loaded

2 years agoAdd LspCodeAction tests for creating and renaming files
Yegappan Lakshmanan [Sun, 11 Feb 2024 05:06:51 +0000 (21:06 -0800)]
Add LspCodeAction tests for creating and renaming files

2 years agoAdd a simple rust language server test
Yegappan Lakshmanan [Sun, 11 Feb 2024 04:37:09 +0000 (20:37 -0800)]
Add a simple rust language server test

2 years agoUse the steps from rust analyze document for installation
Yegappan Lakshmanan [Fri, 9 Feb 2024 17:01:04 +0000 (09:01 -0800)]
Use the steps from rust analyze document for installation

2 years agoTry installing the rust language server
Yegappan Lakshmanan [Fri, 9 Feb 2024 16:52:25 +0000 (08:52 -0800)]
Try installing the rust language server

2 years agoWhen applying a text edit, add the buffer (it might not be loaded)
Yegappan Lakshmanan [Thu, 8 Feb 2024 16:21:50 +0000 (08:21 -0800)]
When applying a text edit, add the buffer (it might not be loaded)

2 years agoHandle label in a signature help when it is a list
Yegappan Lakshmanan [Thu, 8 Feb 2024 16:10:04 +0000 (08:10 -0800)]
Handle label in a signature help when it is a list

2 years agoMerge pull request #449 from TheDreadedAndy/main
Yegappan Lakshmanan [Thu, 8 Feb 2024 06:09:21 +0000 (22:09 -0800)]
Merge pull request #449 from TheDreadedAndy/main

Add: diagnostic virtual text wrapping mode option

2 years agoAdded README and help information for diagVirtualTextWrap
Andrew Spaulding [Thu, 8 Feb 2024 02:56:07 +0000 (18:56 -0800)]
Added README and help information for diagVirtualTextWrap

2 years agoProcess the padding value in inlay hints
Yegappan Lakshmanan [Tue, 6 Feb 2024 16:01:28 +0000 (08:01 -0800)]
Process the padding value in inlay hints

2 years agoMerge pull request #450 from girishji/main
Yegappan Lakshmanan [Tue, 6 Feb 2024 15:45:21 +0000 (07:45 -0800)]
Merge pull request #450 from girishji/main

BUG: LspOmniFunc() throws E716

2 years agoremove empty line
Girish Palya [Tue, 6 Feb 2024 12:15:24 +0000 (13:15 +0100)]
remove empty line

M  autoload/lsp/completion.vim

2 years agoBUG: omnifuc throws E716
Girish Palya [Tue, 6 Feb 2024 12:12:28 +0000 (13:12 +0100)]
BUG: omnifuc throws E716

In LspOmniFunc() when cItems is empty (when findstart=1) it does not
set the key 'completeItemsIsIncomplete' in the lspserver dictionary.
When LspOmniFunc is called again with findstart=0, it fails.
line   46:
E716: Key not present in Dictionary: "completeItemsIsIncomplete"

This affects rust, nix, and other lsp servers:
https://github.com/girishji/vimcomplete/issues/14

M  autoload/lsp/completion.vim

2 years agoAdded an option for configuring the wrapping mode of diagnostic virtual text
Andrew Spaulding [Tue, 6 Feb 2024 04:32:31 +0000 (20:32 -0800)]
Added an option for configuring the wrapping mode of diagnostic virtual text

2 years agoIgnore unsupported notification messages from ccls language server
Yegappan Lakshmanan [Mon, 5 Feb 2024 16:23:39 +0000 (08:23 -0800)]
Ignore unsupported notification messages from ccls language server

2 years agoMerge pull request #448 from girishji/main
Yegappan Lakshmanan [Mon, 5 Feb 2024 15:46:30 +0000 (07:46 -0800)]
Merge pull request #448 from girishji/main

Improve signature popup window

2 years agoChanges as requested
Girish Palya [Sun, 4 Feb 2024 17:27:37 +0000 (18:27 +0100)]
Changes as requested

M  autoload/lsp/symbol.vim
M  doc/lsp.txt

2 years agoCorrectly handle keys inside symbol popup window
Girish Palya [Thu, 1 Feb 2024 18:36:19 +0000 (19:36 +0100)]
Correctly handle keys inside symbol popup window

Symbol popup window handles following keys:
- <tab> and <s-tab> to advance selection
- selection wraps around at end
- <pageup> and <pagedn> scroll popup instead of main window

M  autoload/lsp/symbol.vim

2 years agoImprove signature popup window
Girish Palya [Tue, 30 Jan 2024 19:57:51 +0000 (20:57 +0100)]
Improve signature popup window
Add 1 character padding to the sides of signature popup window.
Otherise, the leftmost character of popup looks like continuation of
line from underneath text in some colorschemes. A subtle improvemnt.

M  autoload/lsp/signature.vim

2 years agoMerge pull request #446 from darkseid-is/main
Yegappan Lakshmanan [Thu, 25 Jan 2024 06:02:50 +0000 (22:02 -0800)]
Merge pull request #446 from darkseid-is/main

Add an extra space to LspInlayHintsParam to make it legible

2 years agoAdd support for renaming and deleting files
Yegappan Lakshmanan [Thu, 25 Jan 2024 04:03:06 +0000 (20:03 -0800)]
Add support for renaming and deleting files

2 years agoCreating a file using workspaceedit is not supported
Yegappan Lakshmanan [Wed, 24 Jan 2024 15:51:32 +0000 (07:51 -0800)]
Creating a file using workspaceedit is not supported

2 years agoAdd an extra space to LspInlayHintsParam to make it legible
darkseid [Wed, 24 Jan 2024 07:02:32 +0000 (12:32 +0530)]
Add an extra space to LspInlayHintsParam to make it legible

2 years agoMerge pull request #444 from darkseid-is/patch-2
Yegappan Lakshmanan [Sat, 20 Jan 2024 03:15:30 +0000 (19:15 -0800)]
Merge pull request #444 from darkseid-is/patch-2

Fix typo in lsp.txt

2 years agoFix typo in lsp.txt
darkseid-is [Fri, 19 Jan 2024 22:46:27 +0000 (04:16 +0530)]
Fix typo in lsp.txt

2 years agoUpdate instructions for using vim-plug to install the plugin
Yegappan Lakshmanan [Thu, 18 Jan 2024 05:40:45 +0000 (21:40 -0800)]
Update instructions for using vim-plug to install the plugin

2 years agoRevert "Update instructions for using vim-plug to install the plugin"
Yegappan Lakshmanan [Thu, 18 Jan 2024 05:38:43 +0000 (21:38 -0800)]
Revert "Update instructions for using vim-plug to install the plugin"

This reverts commit 9cff5462634e04fee13edbdb661a02ca0c71d53d.

2 years agoUpdate instructions for using vim-plug to install the plugin
Yegappan Lakshmanan [Thu, 18 Jan 2024 05:26:08 +0000 (21:26 -0800)]
Update instructions for using vim-plug to install the plugin

2 years agoMerge pull request #441 from Song-Tianxiang/patch-1
Yegappan Lakshmanan [Wed, 17 Jan 2024 05:41:06 +0000 (21:41 -0800)]
Merge pull request #441 from Song-Tianxiang/patch-1

fix: hover popup-filter, remove redundant code

2 years agopress <Esc> to close popup window
Song-Tianxiang [Wed, 17 Jan 2024 02:09:53 +0000 (10:09 +0800)]
press <Esc> to close popup window

The default way uses <C-c> to close the popup window, the escape key is added to also close the popup window.

2 years agoMerge pull request #442 from Konfekt/patch-2
Yegappan Lakshmanan [Tue, 16 Jan 2024 16:05:44 +0000 (08:05 -0800)]
Merge pull request #442 from Konfekt/patch-2

change order of vim-plug initialization commands

2 years agochange order of vim-plug initialization commands
Enno [Tue, 16 Jan 2024 13:00:35 +0000 (14:00 +0100)]
change order of vim-plug initialization commands

I could not get omnicomplete to work when setting the options after adding the servers

2 years agofix hover popup-filter, remove redundant code
Song-Tianxiang [Tue, 16 Jan 2024 05:59:47 +0000 (13:59 +0800)]
fix hover popup-filter, remove redundant code

The original few lines of code are redundant.
Just return false and let vim handle the other keys.
The redundant code disabled mouse scrolling, and the popup will be closed automatically after some seconds (I don't know why it is closed automatically)

2 years agoAdd support for scrolling the hover popup window. Fixes #423
Yegappan Lakshmanan [Mon, 15 Jan 2024 15:48:35 +0000 (07:48 -0800)]
Add support for scrolling the hover popup window.  Fixes #423

2 years agoMerge pull request #439 from darkseid-is/patch-1
Yegappan Lakshmanan [Tue, 9 Jan 2024 14:31:36 +0000 (06:31 -0800)]
Merge pull request #439 from darkseid-is/patch-1

fix: typo in README.md

2 years agoFix typo in README.md
darkseid-is [Tue, 9 Jan 2024 06:36:40 +0000 (12:06 +0530)]
Fix typo in README.md

2 years agoMerge pull request #429 from Shane-XB-Qian/none_chk_comp_item_sel
Yegappan Lakshmanan [Thu, 4 Jan 2024 06:10:43 +0000 (22:10 -0800)]
Merge pull request #429 from Shane-XB-Qian/none_chk_comp_item_sel

none: compl item sel

2 years agoMerge pull request #434 from DanielViberg/main
Yegappan Lakshmanan [Thu, 4 Jan 2024 06:02:50 +0000 (22:02 -0800)]
Merge pull request #434 from DanielViberg/main

Added option for removing duplicate completion items

2 years agoAdded filterCompletionDuplicates to readme
Daniel Viberg [Wed, 3 Jan 2024 08:34:50 +0000 (09:34 +0100)]
Added filterCompletionDuplicates to readme

2 years agoAdded doc for new option filterCompletionDuplicates
Daniel Viberg [Wed, 3 Jan 2024 07:55:09 +0000 (08:55 +0100)]
Added doc for new option filterCompletionDuplicates

2 years agoMerge pull request #431 from Shane-XB-Qian/refine_action_regex_a_bit
Yegappan Lakshmanan [Wed, 3 Jan 2024 05:55:00 +0000 (21:55 -0800)]
Merge pull request #431 from Shane-XB-Qian/refine_action_regex_a_bit

none: refine code action regex a bit

2 years agoAdded option for removing duplicate completion items
Daniel Viberg [Tue, 2 Jan 2024 20:24:15 +0000 (21:24 +0100)]
Added option for removing duplicate completion items

2 years agonone: refine code action regex a bit
shane.xb.qian [Sun, 31 Dec 2023 06:18:58 +0000 (14:18 +0800)]
none: refine code action regex a bit

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoUpgrade checkout github actions to v4. Run unit-tests on Vim 9.0 and the latest...
Yegappan Lakshmanan [Tue, 26 Dec 2023 15:16:10 +0000 (07:16 -0800)]
Upgrade checkout github actions to v4.  Run unit-tests on Vim 9.0 and the latest nightly

2 years agonone: compl item sel
shane.xb.qian [Tue, 26 Dec 2023 06:02:56 +0000 (14:02 +0800)]
none: compl item sel

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoWhen displaying completion documentation, check the index is valid
Yegappan Lakshmanan [Mon, 25 Dec 2023 15:38:39 +0000 (07:38 -0800)]
When displaying completion documentation, check the index is valid

2 years agoMerge pull request #426 from girishji/main
Yegappan Lakshmanan [Wed, 20 Dec 2023 17:48:31 +0000 (09:48 -0800)]
Merge pull request #426 from girishji/main

Remove E1013 error when lsp sends kind=null

2 years agorequested change
Girish Palya [Wed, 20 Dec 2023 16:43:20 +0000 (17:43 +0100)]
requested change

M  autoload/lsp/completion.vim

2 years agoMerge pull request #427 from Shane-XB-Qian/fix_cfg_get_len_chk
Yegappan Lakshmanan [Wed, 20 Dec 2023 15:46:45 +0000 (07:46 -0800)]
Merge pull request #427 from Shane-XB-Qian/fix_cfg_get_len_chk

fix: check cfg get len

2 years agofix: check cfg get len
shane.xb.qian [Wed, 20 Dec 2023 15:40:35 +0000 (23:40 +0800)]
fix: check cfg get len

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoMerge pull request #425 from DanielViberg/main
Yegappan Lakshmanan [Wed, 20 Dec 2023 14:45:55 +0000 (06:45 -0800)]
Merge pull request #425 from DanielViberg/main

Changed default value of missing workspaceConfig from [{}] to [null]

2 years agoRemove E1013 error when lsp sends kind=null
Girish Palya [Wed, 20 Dec 2023 13:08:01 +0000 (14:08 +0100)]
Remove E1013 error when lsp sends kind=null
This is what pyslp sent:
{'label': '''H''', 'data': {'doc_uri': 'file:///...py'},
 'sortText': 'a''H''', 'kind': null, 'insertText': '''H'''}
'kind' property need to be checked for null before
attempting completion.

M  autoload/lsp/completion.vim