]> Sergey Matveev's repositories - vim-lsp.git/log
vim-lsp.git
2 years agoAdd test for "customNotificationHandlers"
Andreas Louv [Mon, 6 Mar 2023 22:28:40 +0000 (23:28 +0100)]
Add test for "customNotificationHandlers"

2 years agoAdd support for "customNotificationHandlers"
Andreas Louv [Sun, 5 Mar 2023 22:55:31 +0000 (23:55 +0100)]
Add support for "customNotificationHandlers"

2 years agoFix warning messages seen with the lua language server
Yegappan Lakshmanan [Tue, 7 Mar 2023 06:08:24 +0000 (22:08 -0800)]
Fix warning messages seen with the lua language server

2 years agoFix test failure in jumping to a tag
Yegappan Lakshmanan [Mon, 6 Mar 2023 14:41:26 +0000 (06:41 -0800)]
Fix test failure in jumping to a tag

2 years agoMerge pull request #138 from ilango100/main
Yegappan Lakshmanan [Mon, 6 Mar 2023 14:38:58 +0000 (06:38 -0800)]
Merge pull request #138 from ilango100/main

fix: Use character position in TagFunc

2 years agofix: Use string interpolation
Ilango Rajagopal [Mon, 6 Mar 2023 10:05:49 +0000 (15:35 +0530)]
fix: Use string interpolation

2 years agoMerge pull request #139 from andlrc/ignore-typescript-language-server-custom-notification
Yegappan Lakshmanan [Sun, 5 Mar 2023 22:54:00 +0000 (14:54 -0800)]
Merge pull request #139 from andlrc/ignore-typescript-language-server-custom-notification

Ignore TypeScript language server custom notification

2 years agoIgnore TypeScript language server custom notification
Andreas Louv [Sun, 5 Mar 2023 22:06:09 +0000 (23:06 +0100)]
Ignore TypeScript language server custom notification

Ignore the "$/typescriptVersion" custom notification send by this
language server:

https://github.com/typescript-language-server/typescript-language-server

2 years agofix: Use character position in TagFunc
Ilango Rajagopal [Sun, 5 Mar 2023 11:27:33 +0000 (16:57 +0530)]
fix: Use character position in TagFunc

2 years agoIgnore the $/progress notification message from some language servers
Yegappan Lakshmanan [Sat, 4 Mar 2023 15:56:34 +0000 (07:56 -0800)]
Ignore the $/progress notification message from some language servers

2 years agoMerge pull request #136 from dezza/diagLineHL
Yegappan Lakshmanan [Sat, 25 Feb 2023 04:56:31 +0000 (20:56 -0800)]
Merge pull request #136 from dezza/diagLineHL

lspOptions: diagLineHL

2 years agoMerge pull request #132 from Shane-XB-Qian/pr_codeaction_cmd
Yegappan Lakshmanan [Sat, 25 Feb 2023 04:55:41 +0000 (20:55 -0800)]
Merge pull request #132 from Shane-XB-Qian/pr_codeaction_cmd

fix: codeaction command of cmd maybe not existed

2 years agoimprove docs, fix incorrect comment
Christoffer Aasted [Wed, 15 Feb 2023 10:21:33 +0000 (11:21 +0100)]
improve docs, fix incorrect comment

2 years agofix
Christoffer Aasted [Tue, 14 Feb 2023 23:21:19 +0000 (00:21 +0100)]
fix

2 years agoforgot
Christoffer Aasted [Tue, 14 Feb 2023 22:21:09 +0000 (23:21 +0100)]
forgot

2 years agolint
Christoffer Aasted [Tue, 14 Feb 2023 21:53:26 +0000 (22:53 +0100)]
lint

2 years agolspOptions: diagLineHL
Christoffer Aasted [Tue, 14 Feb 2023 21:48:55 +0000 (22:48 +0100)]
lspOptions: diagLineHL

2 years agofix: codeaction command of cmd maybe not existed
shane.xb.qian [Thu, 12 Jan 2023 06:46:47 +0000 (14:46 +0800)]
fix: codeaction command of cmd maybe not existed

2 years agoMerge pull request #116 from Shane-XB-Qian/pr_lsp_hl_ov
Yegappan Lakshmanan [Wed, 21 Dec 2022 14:21:38 +0000 (06:21 -0800)]
Merge pull request #116 from Shane-XB-Qian/pr_lsp_hl_ov

fix: make lsp hl not be overrode by cursorline

2 years agorevert hl of 'LspOutlineHighlight' back to 'Search' (yellow)
shane.xb.qian [Wed, 21 Dec 2022 14:18:07 +0000 (22:18 +0800)]
revert hl of 'LspOutlineHighlight' back to 'Search' (yellow)

2 years agorevert hl of 'LspTextRef' back to 'Search' (yellow)
shane.xb.qian [Wed, 21 Dec 2022 14:01:48 +0000 (22:01 +0800)]
revert hl of 'LspTextRef' back to 'Search' (yellow)

2 years agofix: make the wait a bit longer // seems clangd maybe not startup yet
shane.xb.qian [Mon, 28 Nov 2022 09:40:54 +0000 (17:40 +0800)]
fix: make the wait a bit longer // seems clangd maybe not startup yet

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agofix: make lsp outline kw hl be not overrode by cursorline as well
shane.xb.qian [Mon, 28 Nov 2022 09:15:15 +0000 (17:15 +0800)]
fix: make lsp outline kw hl be not overrode by cursorline as well

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agofix: make lsp hl not be overrode by cursorline
shane.xb.qian [Mon, 28 Nov 2022 08:53:17 +0000 (16:53 +0800)]
fix: make lsp hl not be overrode by cursorline

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoMerge pull request #121 from Shane-XB-Qian/pr_inlayhints_kind
Yegappan Lakshmanan [Wed, 21 Dec 2022 13:25:40 +0000 (05:25 -0800)]
Merge pull request #121 from Shane-XB-Qian/pr_inlayhints_kind

fix: inlayhints kind can be omitted

2 years agoMerge pull request #118 from andlrc/main
Yegappan Lakshmanan [Wed, 21 Dec 2022 13:13:28 +0000 (05:13 -0800)]
Merge pull request #118 from andlrc/main

Sort the diagnostics by line number when populating the location-list

2 years agoMerge pull request #123 from hardselius/main
Yegappan Lakshmanan [Thu, 15 Dec 2022 10:15:10 +0000 (15:45 +0530)]
Merge pull request #123 from hardselius/main

Remove early bailout check

2 years agoRemove early bailout check
Martin Hardselius [Thu, 15 Dec 2022 08:20:34 +0000 (09:20 +0100)]
Remove early bailout check

This kind of bailout does not work with vim9 without `vim9script
noclear`. See `:h vim9-reload`.

Fixes: #122
2 years agoMerge pull request #119 from craigmac/main
Yegappan Lakshmanan [Sun, 11 Dec 2022 13:12:27 +0000 (05:12 -0800)]
Merge pull request #119 from craigmac/main

Add g:loaded_lsp variable for easy detection

2 years agofix: inlayhints kind can be omitted
shane.xb.qian [Thu, 8 Dec 2022 07:44:27 +0000 (15:44 +0800)]
fix: inlayhints kind can be omitted

2 years agoAdd g:loaded_lsp variable for easy detection
C.D. MacEachern [Wed, 30 Nov 2022 14:11:15 +0000 (09:11 -0500)]
Add g:loaded_lsp variable for easy detection

Useful to detect if the plugin was loaded before doing things in,
for example, `.vim/after/plugin/lsp.vim` by doing:

```
if !get(g:, 'loaded_lsp') | finish | endif
```

2 years agoSort the diagnostics by line number when populating the location-list
Andreas Louv [Wed, 30 Nov 2022 13:53:37 +0000 (14:53 +0100)]
Sort the diagnostics by line number when populating the location-list

2 years agoWhen starting to edit a file, update the inlay hints
Yegappan Lakshmanan [Sun, 27 Nov 2022 21:36:40 +0000 (13:36 -0800)]
When starting to edit a file, update the inlay hints

2 years agoPassing multiple text property types to prop_remove() is supported only starting...
Yegappan Lakshmanan [Sun, 27 Nov 2022 18:03:04 +0000 (10:03 -0800)]
Passing multiple text property types to prop_remove() is supported only starting with 9.0.0233

2 years agoCheck whether the current buffer has a LSP server before clearing the highlights
Yegappan Lakshmanan [Sun, 27 Nov 2022 17:57:28 +0000 (09:57 -0800)]
Check whether the current buffer has a LSP server before clearing the highlights

2 years agoIgnore errors when clearing the highlight text properties
Yegappan Lakshmanan [Sun, 27 Nov 2022 16:29:32 +0000 (08:29 -0800)]
Ignore errors when clearing the highlight text properties

2 years agoSupport the inlay hints kind specified in the standard
Yegappan Lakshmanan [Sun, 27 Nov 2022 08:02:34 +0000 (00:02 -0800)]
Support the inlay hints kind specified in the standard

2 years agoAdd support for displaying clangd inlay hints
Yegappan Lakshmanan [Sun, 27 Nov 2022 00:42:42 +0000 (16:42 -0800)]
Add support for displaying clangd inlay hints

2 years agoAlphabetically sort the commands in the plugin
Yegappan Lakshmanan [Thu, 24 Nov 2022 20:06:14 +0000 (12:06 -0800)]
Alphabetically sort the commands in the plugin

2 years agoRename the lsp server debug log file name
Yegappan Lakshmanan [Thu, 24 Nov 2022 19:56:26 +0000 (11:56 -0800)]
Rename the lsp server debug log file name

2 years agoUpdate documentation
Yegappan Lakshmanan [Thu, 24 Nov 2022 18:48:09 +0000 (10:48 -0800)]
Update documentation

2 years agoShow the language server capabilities in a scratch buffer
Yegappan Lakshmanan [Thu, 24 Nov 2022 16:17:04 +0000 (08:17 -0800)]
Show the language server capabilities in a scratch buffer

2 years agoFix test failure
Yegappan Lakshmanan [Thu, 24 Nov 2022 15:58:12 +0000 (07:58 -0800)]
Fix test failure

2 years agoThe prefix characters used in the call hierarchy tree are not displayed correctly...
Yegappan Lakshmanan [Thu, 24 Nov 2022 15:56:22 +0000 (07:56 -0800)]
The prefix characters used in the call hierarchy tree are not displayed correctly in a terminal Vim.  Update the documentation

2 years agoAdd support for browsing the call hierarchy tree.
Yegappan Lakshmanan [Thu, 24 Nov 2022 06:48:07 +0000 (22:48 -0800)]
Add support for browsing the call hierarchy tree.

2 years agoAdjust the symbol popup window attributes
Yegappan Lakshmanan [Sun, 20 Nov 2022 23:20:01 +0000 (15:20 -0800)]
Adjust the symbol popup window attributes

2 years agoUse a popup window instead of the preview window to display the symbol references
Yegappan Lakshmanan [Sun, 20 Nov 2022 21:36:53 +0000 (13:36 -0800)]
Use a popup window instead of the preview window to display the symbol references

2 years agoWhen jumping to a LSP location, retrieve the file name from the location itself
Yegappan Lakshmanan [Sun, 20 Nov 2022 17:31:13 +0000 (09:31 -0800)]
When jumping to a LSP location, retrieve the file name from the location itself

2 years agoAdd support for displaying type hiearchy in a popup window
Yegappan Lakshmanan [Sun, 20 Nov 2022 07:09:03 +0000 (23:09 -0800)]
Add support for displaying type hiearchy in a popup window

2 years agoMerge pull request #115 from Shane-XB-Qian/pr_completionResolve_item_null
Yegappan Lakshmanan [Fri, 18 Nov 2022 05:54:25 +0000 (21:54 -0800)]
Merge pull request #115 from Shane-XB-Qian/pr_completionResolve_item_null

Pr completion resolve item null

2 years agoMerge pull request #114 from Shane-XB-Qian/pr_workspace_folders_and_resp_func
Yegappan Lakshmanan [Fri, 18 Nov 2022 05:53:36 +0000 (21:53 -0800)]
Merge pull request #114 from Shane-XB-Qian/pr_workspace_folders_and_resp_func

feat: make workspace/workspaceFolders really work and correct sendResponse func

2 years agofix: change to method calling style
shane.xb.qian [Fri, 18 Nov 2022 01:10:17 +0000 (09:10 +0800)]
fix: change to method calling style

2 years agofix: check citem type and make sure it is dict
shane.xb.qian [Thu, 17 Nov 2022 11:31:32 +0000 (19:31 +0800)]
fix: check citem type and make sure it is dict

2 years agofix: item of completionItem/resolve perhaps is null
shane.xb.qian [Thu, 17 Nov 2022 11:18:10 +0000 (19:18 +0800)]
fix: item of completionItem/resolve perhaps is null

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agofeat: make workspace/workspaceFolders really work and correct sendResponse func
shane.xb.qian [Thu, 17 Nov 2022 09:02:12 +0000 (17:02 +0800)]
feat: make workspace/workspaceFolders really work and correct sendResponse func

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoAddress a few FIXMEs
Yegappan Lakshmanan [Wed, 16 Nov 2022 06:14:22 +0000 (22:14 -0800)]
Address a few FIXMEs

2 years agoModify LspOptionsGet() to return a copy of the plugin options. Update comments and doc
Yegappan Lakshmanan [Tue, 15 Nov 2022 13:54:51 +0000 (05:54 -0800)]
Modify LspOptionsGet() to return a copy of the plugin options.  Update comments and doc

2 years agoMerge pull request #106 from Shane-XB-Qian/pr_access_lspoption
Yegappan Lakshmanan [Tue, 15 Nov 2022 13:44:18 +0000 (05:44 -0800)]
Merge pull request #106 from Shane-XB-Qian/pr_access_lspoption

adding 'OptionsGet' func

2 years agoreturn entire lsp options instead of specific one
shane.xb.qian [Tue, 15 Nov 2022 06:20:22 +0000 (14:20 +0800)]
return entire lsp options instead of specific one

2 years agoupd 'LspOptionsGet' doc
shane.xb.qian [Mon, 14 Nov 2022 15:50:04 +0000 (23:50 +0800)]
upd 'LspOptionsGet' doc

2 years agoadding 'OptionsGet' func
shane.xb.qian [Mon, 14 Nov 2022 04:43:53 +0000 (12:43 +0800)]
adding 'OptionsGet' func

2 years agoUse the method calling convention for builtin functions consistently
Yegappan Lakshmanan [Tue, 15 Nov 2022 05:46:53 +0000 (21:46 -0800)]
Use the method calling convention for builtin functions consistently

2 years agoMerge pull request #112 from Shane-XB-Qian/pr_correct_compl_item_label_chk
Yegappan Lakshmanan [Tue, 15 Nov 2022 04:36:19 +0000 (20:36 -0800)]
Merge pull request #112 from Shane-XB-Qian/pr_correct_compl_item_label_chk

fix: compl item maybe is 'string'!

2 years agofix: compl item maybe is 'string'!
shane.xb.qian [Tue, 15 Nov 2022 02:42:36 +0000 (10:42 +0800)]
fix: compl item maybe is 'string'!

2 years agoMerge pull request #111 from Shane-XB-Qian/pr_tiny_correction
Yegappan Lakshmanan [Mon, 14 Nov 2022 19:42:01 +0000 (11:42 -0800)]
Merge pull request #111 from Shane-XB-Qian/pr_tiny_correction

fix: tiny correction

2 years agofix: tiny correction
shane.xb.qian [Mon, 14 Nov 2022 16:47:29 +0000 (00:47 +0800)]
fix: tiny correction

2 years agoMerge pull request #110 from Shane-XB-Qian/pr_reply_maynot_have_result
Yegappan Lakshmanan [Mon, 14 Nov 2022 15:58:06 +0000 (07:58 -0800)]
Merge pull request #110 from Shane-XB-Qian/pr_reply_maynot_have_result

fix: somehow 'reply' may not have 'result' (or not yet)

2 years agoadding err msg when/if reply no result
shane.xb.qian [Mon, 14 Nov 2022 15:30:30 +0000 (23:30 +0800)]
adding err msg when/if reply no result

2 years agoMerge pull request #109 from Shane-XB-Qian/pr_mkd_break_line_len
Yegappan Lakshmanan [Mon, 14 Nov 2022 15:13:31 +0000 (07:13 -0800)]
Merge pull request #109 from Shane-XB-Qian/pr_mkd_break_line_len

fix: the markdown break line maybe ugly

2 years agoMerge pull request #107 from Shane-XB-Qian/pr_chk_item_doc_type
Yegappan Lakshmanan [Mon, 14 Nov 2022 15:12:21 +0000 (07:12 -0800)]
Merge pull request #107 from Shane-XB-Qian/pr_chk_item_doc_type

fix: should check type of complete_item.doc

2 years agofix: somehow 'reply' may not have 'result' (or not yet)
shane.xb.qian [Mon, 14 Nov 2022 12:25:22 +0000 (20:25 +0800)]
fix: somehow 'reply' may not have 'result' (or not yet)

2 years agofix: the markdown break line maybe ugly
shane.xb.qian [Mon, 14 Nov 2022 12:01:38 +0000 (20:01 +0800)]
fix: the markdown break line maybe ugly

2 years agofix: should check type of complete_item.doc
shane.xb.qian [Mon, 14 Nov 2022 10:00:09 +0000 (18:00 +0800)]
fix: should check type of complete_item.doc

2 years agoMinor optimization in omni-completion
Yegappan Lakshmanan [Sun, 13 Nov 2022 15:56:27 +0000 (07:56 -0800)]
Minor optimization in omni-completion

2 years agoMerge pull request #105 from techntools/fix/key-check
Yegappan Lakshmanan [Sun, 13 Nov 2022 15:06:08 +0000 (07:06 -0800)]
Merge pull request #105 from techntools/fix/key-check

Check for dict type before checking for keys

2 years agoCheck for dict type before checking for keys
Santosh Bandichode [Sun, 13 Nov 2022 09:39:43 +0000 (15:09 +0530)]
Check for dict type before checking for keys

2 years agoMove completed related functions to the completion.vim file
Yegappan Lakshmanan [Sun, 13 Nov 2022 02:30:35 +0000 (18:30 -0800)]
Move completed related functions to the completion.vim file

2 years agoMerge pull request #104 from rcasta74/lspmarkdown
Yegappan Lakshmanan [Sun, 13 Nov 2022 00:31:11 +0000 (16:31 -0800)]
Merge pull request #104 from rcasta74/lspmarkdown

Lsp markdown parser for popup documentation

2 years agoUse markdown parser with hover popup
Roberto Castagnola [Sat, 12 Nov 2022 16:16:43 +0000 (17:16 +0100)]
Use markdown parser with hover popup

2 years agoAdd markdown parser
Roberto Castagnola [Sat, 12 Nov 2022 16:15:48 +0000 (17:15 +0100)]
Add markdown parser

2 years agoRemove debug message
Yegappan Lakshmanan [Sat, 12 Nov 2022 05:16:20 +0000 (21:16 -0800)]
Remove debug message

2 years agoSimplify the check for server capabilities
Yegappan Lakshmanan [Sat, 12 Nov 2022 05:11:00 +0000 (21:11 -0800)]
Simplify the check for server capabilities

2 years agoMerge pull request #101 from Shane-XB-Qian/pr_correct_test_script
Yegappan Lakshmanan [Fri, 11 Nov 2022 16:53:18 +0000 (08:53 -0800)]
Merge pull request #101 from Shane-XB-Qian/pr_correct_test_script

Pr correct test script

2 years agogit ignore test/results.txt and test/Xtest.{c,cpp}
shane.xb.qian [Thu, 10 Nov 2022 02:49:33 +0000 (10:49 +0800)]
git ignore test/results.txt and test/Xtest.{c,cpp}

2 years agofix: correct/refine run test sh script
shane.xb.qian [Thu, 10 Nov 2022 02:50:58 +0000 (10:50 +0800)]
fix: correct/refine run test sh script

2 years agoAdd support for specifying a range to the LspCodeAction command
Yegappan Lakshmanan [Fri, 11 Nov 2022 16:07:52 +0000 (08:07 -0800)]
Add support for specifying a range to the LspCodeAction command

2 years agoStop running the tests if clangd is not ready
Yegappan Lakshmanan [Fri, 11 Nov 2022 15:33:35 +0000 (07:33 -0800)]
Stop running the tests if clangd is not ready

2 years agoMerge pull request #102 from Shane-XB-Qian/pr_ci_clangd_14
Yegappan Lakshmanan [Fri, 11 Nov 2022 15:27:52 +0000 (07:27 -0800)]
Merge pull request #102 from Shane-XB-Qian/pr_ci_clangd_14

Pr ci clangd 14

2 years agoci: complacence with clangd-14 and more robust code
shane.xb.qian [Fri, 11 Nov 2022 02:03:59 +0000 (10:03 +0800)]
ci: complacence with clangd-14 and more robust code

2 years agoci: install clangd-14 complacence with ubuntu ver
shane.xb.qian [Fri, 11 Nov 2022 01:51:16 +0000 (09:51 +0800)]
ci: install clangd-14 complacence with ubuntu ver

2 years agofix: (test case) try to specific ubuntu version compliance with clangd
shane.xb.qian [Thu, 10 Nov 2022 03:12:45 +0000 (11:12 +0800)]
fix: (test case) try to specific ubuntu version compliance with clangd

2 years agoMerge pull request #100 from Shane-XB-Qian/pr_chk_of_didsave
Yegappan Lakshmanan [Wed, 9 Nov 2022 16:05:30 +0000 (08:05 -0800)]
Merge pull request #100 from Shane-XB-Qian/pr_chk_of_didsave

fix: correct the 'didSave' check

2 years agofix: correct the 'didSave' check
shane.xb.qian [Wed, 9 Nov 2022 14:44:12 +0000 (22:44 +0800)]
fix: correct the 'didSave' check

2 years agoUpdate the client capabilities. Correctly check for the server capabilities
Yegappan Lakshmanan [Wed, 9 Nov 2022 04:38:56 +0000 (20:38 -0800)]
Update the client capabilities.  Correctly check for the server capabilities

2 years agoMerge pull request #99 from Shane-XB-Qian/pr_codeaction_popup_num_selection
Yegappan Lakshmanan [Mon, 7 Nov 2022 15:09:17 +0000 (07:09 -0800)]
Merge pull request #99 from Shane-XB-Qian/pr_codeaction_popup_num_selection

feat: make code action popup can be selected by item num

2 years agofeat: make code action popup can be selected by item num, and 'h/l' to close popup...
shane.xb.qian [Mon, 7 Nov 2022 07:18:54 +0000 (15:18 +0800)]
feat: make code action popup can be selected by item num, and 'h/l' to close popup as well.

2 years agoAdding lsp servers through VimEnter autocmd with Plug fails for files loaded from...
Yegappan Lakshmanan [Sun, 6 Nov 2022 20:28:42 +0000 (12:28 -0800)]
Adding lsp servers through VimEnter autocmd with Plug fails for files loaded from command line.  Fixes issue #98

2 years agoEmpty options dict for completionProvider in server capabilities not handled correctl...
Yegappan Lakshmanan [Sun, 6 Nov 2022 19:18:17 +0000 (11:18 -0800)]
Empty options dict for completionProvider in server capabilities not handled correctly.  Fixes issue #97

2 years agoMerge pull request #96 from Shane-XB-Qian/pr_correct_codeaction_doc
Yegappan Lakshmanan [Sun, 6 Nov 2022 14:15:11 +0000 (06:15 -0800)]
Merge pull request #96 from Shane-XB-Qian/pr_correct_codeaction_doc

fix: refine code action doc

2 years agofix: refine code action doc
shane.xb.qian [Sun, 6 Nov 2022 07:04:18 +0000 (15:04 +0800)]
fix: refine code action doc