]>
Sergey Matveev's repositories - vim-lsp.git/log
Yegappan Lakshmanan [Sun, 22 Sep 2024 00:01:56 +0000 (17:01 -0700)]
simplify the LSP server name comparison
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
Quan Nguyen [Sat, 21 Sep 2024 23:52:19 +0000 (08:52 +0900)]
Fix adding server multiple time (#531)
Yegappan Lakshmanan [Sat, 21 Sep 2024 21:07:08 +0000 (14:07 -0700)]
:LspFold doesn't fold the right set of lines
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
Yegappan Lakshmanan [Sat, 21 Sep 2024 01:10:47 +0000 (18:10 -0700)]
Ignore the select callback in an empty document symbol popup window
Ali Bazrafshan [Tue, 10 Sep 2024 15:08:23 +0000 (18:38 +0330)]
Format code fragments appropriately (#547)
Ali Bazrafshan [Tue, 10 Sep 2024 15:07:13 +0000 (18:37 +0330)]
Fix typo in doc (#549)
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
David Dominguez [Fri, 14 Jun 2024 15:07:28 +0000 (11:07 -0400)]
Unescape non-breaking spaces (#514)
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
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'
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
Nick Jensen [Mon, 8 Apr 2024 01:54:30 +0000 (13:54 +1200)]
Add tests for :LspDiag nextWrap/prevWrap
shane.xb.qian [Sun, 7 Apr 2024 13:31:57 +0000 (21:31 +0800)]
feat: tmp impl 'showMessageRequest'
Nick Jensen [Thu, 4 Apr 2024 19:23:06 +0000 (08:23 +1300)]
Include new args in test assertion
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
Maxim Yurevich [Wed, 3 Apr 2024 11:11:08 +0000 (14:11 +0300)]
fix: ignore unsupported notification messages from tailwindcss-language-server
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
plainbowstring [Sun, 31 Mar 2024 12:43:44 +0000 (23:43 +1100)]
ignore unsupported notification messages from omnisharp language server
Nick Jensen [Mon, 18 Mar 2024 22:03:23 +0000 (11:03 +1300)]
Add LspDiag nextWrap and prevWrap command args
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
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
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
Yegappan Lakshmanan [Mon, 26 Feb 2024 16:07:36 +0000 (08:07 -0800)]
omni completion results in an error message after a opening parenthesis
Yegappan Lakshmanan [Sun, 25 Feb 2024 16:27:04 +0000 (08:27 -0800)]
completeItems item may not be present in omnicompletion callback
Yegappan Lakshmanan [Thu, 22 Feb 2024 15:14:31 +0000 (07:14 -0800)]
Merge pull request #459 from ahnafalnafis/main
Improve popup window
Yegappan Lakshmanan [Wed, 21 Feb 2024 17:09:06 +0000 (09:09 -0800)]
Add missing comma
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
Ahnaf Al Nafis [Tue, 20 Feb 2024 15:59:25 +0000 (21:59 +0600)]
Improve popup window
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
Yegappan Lakshmanan [Sun, 11 Feb 2024 05:06:51 +0000 (21:06 -0800)]
Add LspCodeAction tests for creating and renaming files
Yegappan Lakshmanan [Sun, 11 Feb 2024 04:37:09 +0000 (20:37 -0800)]
Add a simple rust language server test
Yegappan Lakshmanan [Fri, 9 Feb 2024 17:01:04 +0000 (09:01 -0800)]
Use the steps from rust analyze document for installation
Yegappan Lakshmanan [Fri, 9 Feb 2024 16:52:25 +0000 (08:52 -0800)]
Try installing the rust language server
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)
Yegappan Lakshmanan [Thu, 8 Feb 2024 16:10:04 +0000 (08:10 -0800)]
Handle label in a signature help when it is a list
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
Andrew Spaulding [Thu, 8 Feb 2024 02:56:07 +0000 (18:56 -0800)]
Added README and help information for diagVirtualTextWrap
Yegappan Lakshmanan [Tue, 6 Feb 2024 16:01:28 +0000 (08:01 -0800)]
Process the padding value in inlay hints
Yegappan Lakshmanan [Tue, 6 Feb 2024 15:45:21 +0000 (07:45 -0800)]
Merge pull request #450 from girishji/main
BUG: LspOmniFunc() throws E716
Girish Palya [Tue, 6 Feb 2024 12:15:24 +0000 (13:15 +0100)]
remove empty line
M autoload/lsp/completion.vim
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
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
Yegappan Lakshmanan [Mon, 5 Feb 2024 16:23:39 +0000 (08:23 -0800)]
Ignore unsupported notification messages from ccls language server
Yegappan Lakshmanan [Mon, 5 Feb 2024 15:46:30 +0000 (07:46 -0800)]
Merge pull request #448 from girishji/main
Improve signature popup window
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
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
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
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
Yegappan Lakshmanan [Thu, 25 Jan 2024 04:03:06 +0000 (20:03 -0800)]
Add support for renaming and deleting files
Yegappan Lakshmanan [Wed, 24 Jan 2024 15:51:32 +0000 (07:51 -0800)]
Creating a file using workspaceedit is not supported
darkseid [Wed, 24 Jan 2024 07:02:32 +0000 (12:32 +0530)]
Add an extra space to LspInlayHintsParam to make it legible
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
darkseid-is [Fri, 19 Jan 2024 22:46:27 +0000 (04:16 +0530)]
Fix typo in lsp.txt
Yegappan Lakshmanan [Thu, 18 Jan 2024 05:40:45 +0000 (21:40 -0800)]
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 .
Yegappan Lakshmanan [Thu, 18 Jan 2024 05:26:08 +0000 (21:26 -0800)]
Update instructions for using vim-plug to install the plugin
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
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.
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
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
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)
Yegappan Lakshmanan [Mon, 15 Jan 2024 15:48:35 +0000 (07:48 -0800)]
Add support for scrolling the hover popup window. Fixes #423
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
darkseid-is [Tue, 9 Jan 2024 06:36:40 +0000 (12:06 +0530)]
Fix typo in README.md
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
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
Daniel Viberg [Wed, 3 Jan 2024 08:34:50 +0000 (09:34 +0100)]
Added filterCompletionDuplicates to readme
Daniel Viberg [Wed, 3 Jan 2024 07:55:09 +0000 (08:55 +0100)]
Added doc for new option filterCompletionDuplicates
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
Daniel Viberg [Tue, 2 Jan 2024 20:24:15 +0000 (21:24 +0100)]
Added option for removing duplicate completion items
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>
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
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>
Yegappan Lakshmanan [Mon, 25 Dec 2023 15:38:39 +0000 (07:38 -0800)]
When displaying completion documentation, check the index is valid
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
Girish Palya [Wed, 20 Dec 2023 16:43:20 +0000 (17:43 +0100)]
requested change
M autoload/lsp/completion.vim
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
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>
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]
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
Daniel Viberg [Tue, 19 Dec 2023 13:58:43 +0000 (14:58 +0100)]
Changed default value of missing workspaceConfig from [{}] to [null]
Yegappan Lakshmanan [Tue, 12 Dec 2023 15:03:22 +0000 (07:03 -0800)]
Merge pull request #422 from Angluca/main
Copy to my vimrc Error!!
Pixeller [Tue, 12 Dec 2023 11:17:10 +0000 (19:17 +0800)]
Copy to my vimrc Error!!
Newbies only copy and paste settings
T. T
Yegappan Lakshmanan [Mon, 4 Dec 2023 15:06:16 +0000 (07:06 -0800)]
Merge pull request #421 from Shane-XB-Qian/fix_semantic_flag_typo
fix: fix semantic flag typo
shane.xb.qian [Mon, 4 Dec 2023 09:24:12 +0000 (17:24 +0800)]
fix: fix semantic flag typo
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Yegappan Lakshmanan [Sun, 3 Dec 2023 05:50:59 +0000 (21:50 -0800)]
Add the initial support for semantic highlighting
Yegappan Lakshmanan [Sat, 2 Dec 2023 15:35:01 +0000 (07:35 -0800)]
Merge pull request #420 from Shane-XB-Qian/refine_compl_kind_trig_char
none: get trig chars always
shane.xb.qian [Sat, 2 Dec 2023 04:08:02 +0000 (12:08 +0800)]
none: get trig chars always
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Yegappan Lakshmanan [Fri, 1 Dec 2023 17:26:51 +0000 (09:26 -0800)]
Merge pull request #418 from girishji/main
Make omnifunc() complete keywords based on LSP triggerCharacters
Girish Palya [Fri, 1 Dec 2023 16:38:52 +0000 (17:38 +0100)]
Improve doc
M autoload/lsp/completion.vim
giri [Fri, 1 Dec 2023 16:26:09 +0000 (17:26 +0100)]
Merge branch 'yegappan:main' into main
Girish Palya [Fri, 1 Dec 2023 16:25:50 +0000 (17:25 +0100)]
Changes as requested by reviwers
M autoload/lsp/completion.vim
M test/clangd_tests.vim
Yegappan Lakshmanan [Fri, 1 Dec 2023 15:41:31 +0000 (07:41 -0800)]
Merge pull request #419 from CoelacanthusHex/fix/list
fix(inlayhint): fix format when label is a list in Rust Analyzer
Yegappan Lakshmanan [Fri, 1 Dec 2023 15:39:16 +0000 (07:39 -0800)]
In recent Vim versions, prop_list() doesn't return the length item for virtual text
Coelacanthus [Fri, 1 Dec 2023 13:51:21 +0000 (21:51 +0800)]
fix(inlayhint): fix format when label is a list in Rust Analyzer
resolve #416
Girish Palya [Thu, 30 Nov 2023 21:54:14 +0000 (22:54 +0100)]
Fix some of the test failures
- fixed omnifunc related tests
- diag related tests are still failing
M autoload/lsp/completion.vim
M test/clangd_tests.vim
Girish Palya [Wed, 29 Nov 2023 12:17:55 +0000 (13:17 +0100)]
Propagate triggerCharacters to omni-completion
Fixed 2 bugs:
- add triggerCharacters to lsp list for omniComplete option
- process triggerCharacters based keywords in omnifunc()
M autoload/lsp/completion.vim
M autoload/lsp/lspserver.vim
Yegappan Lakshmanan [Tue, 28 Nov 2023 15:42:36 +0000 (07:42 -0800)]
Merge pull request #415 from Konfekt/patch-1
update doc on default options