]> Sergey Matveev's repositories - vim-lsp.git/log
vim-lsp.git
2 years agofix: tidy the echom msg to InfoMsg
shane.xb.qian [Sun, 16 Apr 2023 01:26:05 +0000 (09:26 +0800)]
fix: tidy the echom msg to InfoMsg

// based on #262

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoMerge pull request #267 from andlrc/fix/raise-hover-error-on-no-server
Yegappan Lakshmanan [Sun, 16 Apr 2023 18:08:54 +0000 (11:08 -0700)]
Merge pull request #267 from andlrc/fix/raise-hover-error-on-no-server

Raise an error if no hover server is found

2 years agoRaise an error if no hover server is found
Andreas Louv [Sun, 16 Apr 2023 08:26:27 +0000 (10:26 +0200)]
Raise an error if no hover server is found

2 years agoMerge pull request #274 from andlrc/chore/add-more-docs-for-lspoutline
Yegappan Lakshmanan [Sun, 16 Apr 2023 17:43:42 +0000 (10:43 -0700)]
Merge pull request #274 from andlrc/chore/add-more-docs-for-lspoutline

Add examples and references to the two options that affect ":LspOutline"

2 years agoMerge pull request #269 from andlrc/feat/add-mods-to-highlight
Yegappan Lakshmanan [Sun, 16 Apr 2023 17:40:41 +0000 (10:40 -0700)]
Merge pull request #269 from andlrc/feat/add-mods-to-highlight

Add an silenceable via <mods> error message to LspHighlight

2 years agoAdd examples and references to the two options that affect ":LspOutline"
Andreas Louv [Sun, 16 Apr 2023 16:50:17 +0000 (18:50 +0200)]
Add examples and references to the two options that affect ":LspOutline"

2 years agoAdd <mods> to ":LspHighlight"
Andreas Louv [Sun, 16 Apr 2023 07:40:12 +0000 (09:40 +0200)]
Add <mods> to ":LspHighlight"

This will allow you to run `:silent LspHighlight` to silent the error
message.

2 years agoAdd error message to "LspHighlight"
Andreas Louv [Sun, 16 Apr 2023 12:02:15 +0000 (14:02 +0200)]
Add error message to "LspHighlight"

2 years agoMerge pull request #272 from andlrc/fix/listen-for-lspready-with-id-instead-of-name
Yegappan Lakshmanan [Sun, 16 Apr 2023 16:00:09 +0000 (09:00 -0700)]
Merge pull request #272 from andlrc/fix/listen-for-lspready-with-id-instead-of-name

Add an autocmd for the LSP servers internal ID

2 years agoMerge pull request #270 from andlrc/feat/add-mods-to-outline
Yegappan Lakshmanan [Sun, 16 Apr 2023 15:59:29 +0000 (08:59 -0700)]
Merge pull request #270 from andlrc/feat/add-mods-to-outline

Add <mods> to ":LspOutline"

2 years agoMerge pull request #266 from andlrc/feat/add-mods-to-hover
Yegappan Lakshmanan [Sun, 16 Apr 2023 15:19:25 +0000 (08:19 -0700)]
Merge pull request #266 from andlrc/feat/add-mods-to-hover

Add <mods> to LspHover, so that `:silent LspHover` silence any error message

2 years agoAdd an autocmd for the LSP servers internal ID
Andreas Louv [Sun, 16 Apr 2023 15:18:23 +0000 (17:18 +0200)]
Add an autocmd for the LSP servers internal ID

This is to not fail if the user provides two servers with the same name.

2 years agoAdd test for outline window position
Andreas Louv [Sun, 16 Apr 2023 13:21:10 +0000 (15:21 +0200)]
Add test for outline window position

2 years agoMake it possible to out-out of vert splits
Andreas Louv [Sun, 16 Apr 2023 13:07:47 +0000 (15:07 +0200)]
Make it possible to out-out of vert splits

2 years agoAdd <mods> to ":LspOutline"
Andreas Louv [Sun, 16 Apr 2023 07:40:12 +0000 (09:40 +0200)]
Add <mods> to ":LspOutline"

This will allow you to add command modifiers to the created Outline
window. The option "outlineOnRight" is still respected but can be
overridden by explicitly setting another modifier.

2 years agoAdd <mods> to hover
Andreas Louv [Sun, 16 Apr 2023 07:40:12 +0000 (09:40 +0200)]
Add <mods> to hover

This will allow you to run `:silent LspHover` to silent the error
message, and things `:belowright LspHover` to position the preview
window.

2 years agoMerge pull request #265 from Shane-XB-Qian/fix_clangd_ver_impact
Yegappan Lakshmanan [Sun, 16 Apr 2023 05:29:56 +0000 (22:29 -0700)]
Merge pull request #265 from Shane-XB-Qian/fix_clangd_ver_impact

fix: to fix flaky test result/failure at local vs ci

2 years agofix: to fix flaky test result/failure at local vs ci
shane.xb.qian [Sun, 16 Apr 2023 04:26:46 +0000 (12:26 +0800)]
fix: to fix flaky test result/failure at local vs ci

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoMerge pull request #261 from andlrc/add-runIfSearch
Yegappan Lakshmanan [Sat, 15 Apr 2023 19:26:36 +0000 (12:26 -0700)]
Merge pull request #261 from andlrc/add-runIfSearch

Add "runIfSearch" and "runUnlessSearch" to as make "rootSearch" only have one concern

2 years agoAdd "runUnlessSearch" which is the opposite of "runIfSearch"
Andreas Louv [Sat, 15 Apr 2023 18:02:48 +0000 (20:02 +0200)]
Add "runUnlessSearch" which is the opposite of "runIfSearch"

2 years agoAdd "runIfSearch" to as make "rootSearch" only have one concern
Andreas Louv [Sat, 15 Apr 2023 13:47:17 +0000 (15:47 +0200)]
Add "runIfSearch" to as make "rootSearch" only have one concern

2 years agoMerge pull request #258 from andlrc/disable-diags-for-specific-server
Yegappan Lakshmanan [Sat, 15 Apr 2023 13:37:26 +0000 (06:37 -0700)]
Merge pull request #258 from andlrc/disable-diags-for-specific-server

Disable diags for specific server

2 years agoMake it possible to disable diagnostics for a specific server
Andreas Louv [Fri, 14 Apr 2023 21:39:30 +0000 (23:39 +0200)]
Make it possible to disable diagnostics for a specific server

2 years agoMake it possible to disable langauge server features
Andreas Louv [Fri, 14 Apr 2023 21:07:54 +0000 (23:07 +0200)]
Make it possible to disable langauge server features

2 years agoMerge pull request #257 from greeschenko/main
Yegappan Lakshmanan [Sat, 15 Apr 2023 01:46:15 +0000 (18:46 -0700)]
Merge pull request #257 from greeschenko/main

small fix for ultisnip description

2 years agosmall fix for ultisnip description
Oleksiy Hryshchenko [Fri, 14 Apr 2023 21:07:12 +0000 (00:07 +0300)]
small fix for ultisnip description

2 years agoMerge pull request #255 from andlrc/only-attach-compl-once
Yegappan Lakshmanan [Fri, 14 Apr 2023 15:32:52 +0000 (08:32 -0700)]
Merge pull request #255 from andlrc/only-attach-compl-once

Initialize completion when all server capabilities are known

2 years agoInitialize completion when all server capabilities are known
Andreas Louv [Fri, 14 Apr 2023 14:58:06 +0000 (16:58 +0200)]
Initialize completion when all server capabilities are known

It's only possible to initialize completion when all server capabilities
are known, as this is the time it's known which server will end up being
used for completion.

2 years agoMerge pull request #254 from Shane-XB-Qian/fix_misc_tidy_or_flaw
Yegappan Lakshmanan [Fri, 14 Apr 2023 15:04:51 +0000 (08:04 -0700)]
Merge pull request #254 from Shane-XB-Qian/fix_misc_tidy_or_flaw

Fix misc tidy or flaw

2 years agonone: remove '->resolve()'
shane.xb.qian [Fri, 14 Apr 2023 14:45:56 +0000 (22:45 +0800)]
none: remove '->resolve()'

2 years agonone: remove writable check in ClearTraceLogs
shane.xb.qian [Fri, 14 Apr 2023 14:44:58 +0000 (22:44 +0800)]
none: remove writable check in ClearTraceLogs

2 years agonone: correct completionTextEdit doc tag
shane.xb.qian [Fri, 14 Apr 2023 12:28:27 +0000 (20:28 +0800)]
none: correct completionTextEdit doc tag

2 years agofix: resolve symlink in case
shane.xb.qian [Fri, 14 Apr 2023 07:22:43 +0000 (15:22 +0800)]
fix: resolve symlink in case

2 years agofix: no lsp server prefix-name to identify ws
shane.xb.qian [Fri, 14 Apr 2023 06:35:33 +0000 (14:35 +0800)]
fix: no lsp server prefix-name to identify ws

2 years agonone: tidy doc
shane.xb.qian [Fri, 14 Apr 2023 06:22:04 +0000 (14:22 +0800)]
none: tidy doc

2 years agofix: log fs path was not correct
shane.xb.qian [Fri, 14 Apr 2023 06:09:32 +0000 (14:09 +0800)]
fix: log fs path was not correct

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoMerge pull request #231 from andlrc/feat/multiple-servers
Yegappan Lakshmanan [Fri, 14 Apr 2023 03:03:56 +0000 (20:03 -0700)]
Merge pull request #231 from andlrc/feat/multiple-servers

Feat/multiple servers

2 years agoMake SetTrace support multiple servers
Andreas Louv [Thu, 13 Apr 2023 18:52:10 +0000 (20:52 +0200)]
Make SetTrace support multiple servers

2 years agoShow information about all servers running for a buffer in ":LspShowAllServers"
Andreas Louv [Thu, 13 Apr 2023 18:51:43 +0000 (20:51 +0200)]
Show information about all servers running for a buffer in ":LspShowAllServers"

2 years agoMerge pull request #253 from andlrc/feat/dont-run-non-matching-rootSearch-server...
Yegappan Lakshmanan [Fri, 14 Apr 2023 00:47:15 +0000 (17:47 -0700)]
Merge pull request #253 from andlrc/feat/dont-run-non-matching-rootSearch-server-when-other-servers-matches

Make servers with a non matching 'rootSearch' score below servers without 'rootSearch'

2 years agoMerge pull request #252 from andlrc/feat/multiple-servers-part-9
Yegappan Lakshmanan [Fri, 14 Apr 2023 00:43:56 +0000 (17:43 -0700)]
Merge pull request #252 from andlrc/feat/multiple-servers-part-9

multiple server part 9: Add support for the "features" configuration flags

2 years agoMerge pull request #251 from andlrc/feat/multiple-servers-part-8
Yegappan Lakshmanan [Fri, 14 Apr 2023 00:39:13 +0000 (17:39 -0700)]
Merge pull request #251 from andlrc/feat/multiple-servers-part-8

multiple server part 8: Join diagnostics from all language servers

2 years agoMake it possible to get diagnostics/line for a single server
Andreas Louv [Wed, 12 Apr 2023 05:58:10 +0000 (07:58 +0200)]
Make it possible to get diagnostics/line for a single server

2 years agoRemove the unused "lspserver" parameter
Andreas Louv [Wed, 12 Apr 2023 05:57:33 +0000 (07:57 +0200)]
Remove the unused "lspserver" parameter

2 years agoAdd support for diagnostics from multiple servers
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add support for diagnostics from multiple servers

This will join diagnostics from all running language servers.

2 years agoAdd support for a 'foldingRange' language server
Andreas Louv [Wed, 12 Apr 2023 08:25:43 +0000 (10:25 +0200)]
Add support for a 'foldingRange' language server

2 years agoAdd support for a 'selectionRange' language server
Andreas Louv [Wed, 12 Apr 2023 08:25:30 +0000 (10:25 +0200)]
Add support for a 'selectionRange' language server

2 years agoAdd support for a 'documentHighlight' language server
Andreas Louv [Wed, 12 Apr 2023 08:25:16 +0000 (10:25 +0200)]
Add support for a 'documentHighlight' language server

2 years agoAdd support for a 'codeLens' language server
Andreas Louv [Wed, 12 Apr 2023 08:24:12 +0000 (10:24 +0200)]
Add support for a 'codeLens' language server

2 years agoAdd support for a 'codeAction' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:56 +0000 (10:23 +0200)]
Add support for a 'codeAction' language server

2 years agoAdd support for a 'rename' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:39 +0000 (10:23 +0200)]
Add support for a 'rename' language server

2 years agoAdd support for a 'references' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:26 +0000 (10:23 +0200)]
Add support for a 'references' language server

2 years agoAdd support for a 'hover' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:16 +0000 (10:23 +0200)]
Add support for a 'hover' language server

2 years agoAdd support for a 'goto ...' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:07 +0000 (10:23 +0200)]
Add support for a 'goto ...' language server

2 years agoAdd support for a 'completion' language server
Andreas Louv [Wed, 12 Apr 2023 08:22:22 +0000 (10:22 +0200)]
Add support for a 'completion' language server

2 years agoAdd support for a 'documentFormatting' language server
Andreas Louv [Wed, 12 Apr 2023 08:08:59 +0000 (10:08 +0200)]
Add support for a 'documentFormatting' language server

2 years agoMake the code ready for adding support for "features"
Andreas Louv [Wed, 12 Apr 2023 09:00:10 +0000 (11:00 +0200)]
Make the code ready for adding support for "features"

2 years agoMake servers with a non matching 'rootSearch' score below servers without 'rootSearch'
Andreas Louv [Thu, 13 Apr 2023 18:59:08 +0000 (20:59 +0200)]
Make servers with a non matching 'rootSearch' score below servers without 'rootSearch'

This makes it possible to configure a server to run within a given
repository, while having another one run for everything else.

2 years agoMerge pull request #250 from Shane-XB-Qian/pr_if_no_additionaltextedits
Yegappan Lakshmanan [Thu, 13 Apr 2023 17:28:32 +0000 (10:28 -0700)]
Merge pull request #250 from Shane-XB-Qian/pr_if_no_additionaltextedits

feat: make additionalTextEdits be possible to disable

2 years agonone: rephrase the word and var and default value of additionalTextEdits
shane.xb.qian [Thu, 13 Apr 2023 17:19:13 +0000 (01:19 +0800)]
none: rephrase the word and var and default value of additionalTextEdits

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agofeat: make additionalTextEdits be possible to disable
shane.xb.qian [Thu, 13 Apr 2023 16:48:39 +0000 (00:48 +0800)]
feat: make additionalTextEdits be possible to disable

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoMerge pull request #248 from andlrc/feat/multiple-servers-part-7
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:53:45 +0000 (08:53 -0700)]
Merge pull request #248 from andlrc/feat/multiple-servers-part-7

Feat/multiple servers part 7

2 years agoMerge pull request #247 from andlrc/feat/multiple-servers-part-6
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:50:37 +0000 (08:50 -0700)]
Merge pull request #247 from andlrc/feat/multiple-servers-part-6

Feat/multiple servers part 6

2 years agoMerge pull request #246 from andlrc/feat/multiple-servers-part-5
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:47:19 +0000 (08:47 -0700)]
Merge pull request #246 from andlrc/feat/multiple-servers-part-5

Feat/multiple servers part 5

2 years agoMerge pull request #245 from andlrc/feat/multiple-servers-part-4
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:43:35 +0000 (08:43 -0700)]
Merge pull request #245 from andlrc/feat/multiple-servers-part-4

Feat/multiple servers part 4

2 years agoMerge pull request #244 from andlrc/feat/multiple-servers-part-3
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:37:35 +0000 (08:37 -0700)]
Merge pull request #244 from andlrc/feat/multiple-servers-part-3

Feat/multiple servers part 3

2 years agoMerge branch 'main' into feat/multiple-servers-part-3
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:34:09 +0000 (08:34 -0700)]
Merge branch 'main' into feat/multiple-servers-part-3

2 years agoMerge pull request #243 from andlrc/feat/multiple-servers-part-2
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:32:31 +0000 (08:32 -0700)]
Merge pull request #243 from andlrc/feat/multiple-servers-part-2

Feat/multiple servers part 2

2 years agoMerge branch 'main' into feat/multiple-servers-part-2
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:23:01 +0000 (08:23 -0700)]
Merge branch 'main' into feat/multiple-servers-part-2

2 years agoFix CI test failure
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:20:46 +0000 (08:20 -0700)]
Fix CI test failure

2 years agoMerge pull request #242 from andlrc/feat/multiple-servers-part-1
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:18:18 +0000 (08:18 -0700)]
Merge pull request #242 from andlrc/feat/multiple-servers-part-1

Feat/multiple servers part 1

2 years agoProperly handle exceptions when sourcing the test scripts
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:05:02 +0000 (08:05 -0700)]
Properly handle exceptions when sourcing the test scripts

2 years agoMerge pull request #249 from D4yvid/fix/E716-intelephense-isIncomplete
Yegappan Lakshmanan [Thu, 13 Apr 2023 14:56:10 +0000 (07:56 -0700)]
Merge pull request #249 from D4yvid/fix/E716-intelephense-isIncomplete

fix: E716 when completing inside of a class with intelephense

2 years agoRemove the if statement and use `get` instead
Dayvid Albuquerque [Thu, 13 Apr 2023 14:53:08 +0000 (11:53 -0300)]
Remove the if statement and use `get` instead

2 years agofix: E716 when completing inside of a class with intelephense
D4yvid [Thu, 13 Apr 2023 14:41:19 +0000 (11:41 -0300)]
fix: E716 when completing inside of a class with intelephense

2 years agoHandle exceptions when starting the language server in tests
Yegappan Lakshmanan [Thu, 13 Apr 2023 14:18:47 +0000 (07:18 -0700)]
Handle exceptions when starting the language server in tests

2 years agoMerge pull request #241 from andlrc/chore/doc
Yegappan Lakshmanan [Thu, 13 Apr 2023 13:51:15 +0000 (06:51 -0700)]
Merge pull request #241 from andlrc/chore/doc

Chore/doc

2 years agoAdd support for having multiple servers registered for the same buffer
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add support for having multiple servers registered for the same buffer

2 years agoMake sure that "LspAttached" is only called once all servers are attached
Andreas Louv [Wed, 12 Apr 2023 21:32:31 +0000 (23:32 +0200)]
Make sure that "LspAttached" is only called once all servers are attached

2 years agoReport didOpen, didSave and didClose to all servers for a buffer
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Report didOpen, didSave and didClose to all servers for a buffer

2 years agoAdd ID to servers
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add ID to servers

2 years agoAdd support for having multiple servers registered for the same buffer
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add support for having multiple servers registered for the same buffer

2 years agoAdd example of "customNotificationHandlers"
Andreas Louv [Wed, 12 Apr 2023 12:09:12 +0000 (14:09 +0200)]
Add example of "customNotificationHandlers"

2 years agoTidy help file
Andreas Louv [Wed, 12 Apr 2023 06:07:23 +0000 (08:07 +0200)]
Tidy help file

2 years agoMake server ready support multiple servers
Andreas Louv [Wed, 12 Apr 2023 08:13:47 +0000 (10:13 +0200)]
Make server ready support multiple servers

2 years agoMake workspace folders support multiple servers
Andreas Louv [Wed, 12 Apr 2023 08:13:47 +0000 (10:13 +0200)]
Make workspace folders support multiple servers

2 years agoMake restart server support multiple servers
Andreas Louv [Wed, 12 Apr 2023 08:13:47 +0000 (10:13 +0200)]
Make restart server support multiple servers

2 years agoMake server debug support multiple servers
Andreas Louv [Wed, 12 Apr 2023 08:12:08 +0000 (10:12 +0200)]
Make server debug support multiple servers

2 years agoMake ":LspServer show" support multiple servers
Andreas Louv [Tue, 11 Apr 2023 15:04:28 +0000 (17:04 +0200)]
Make ":LspServer show" support multiple servers

2 years agoMake sure that "LspAttached" is only called once all servers are attached
Andreas Louv [Wed, 12 Apr 2023 21:32:31 +0000 (23:32 +0200)]
Make sure that "LspAttached" is only called once all servers are attached

2 years agoReport didOpen, didSave and didClose to all servers for a buffer
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Report didOpen, didSave and didClose to all servers for a buffer

2 years agoAdd support for having multiple servers registered for the same buffer
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add support for having multiple servers registered for the same buffer

2 years agoAdd ID to servers
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add ID to servers

2 years agoAdd example of "customNotificationHandlers"
Andreas Louv [Wed, 12 Apr 2023 12:09:12 +0000 (14:09 +0200)]
Add example of "customNotificationHandlers"

2 years agoTidy help file
Andreas Louv [Wed, 12 Apr 2023 06:07:23 +0000 (08:07 +0200)]
Tidy help file

2 years agoMerge pull request #240 from andlrc/fix/remove-dead-command
Yegappan Lakshmanan [Thu, 13 Apr 2023 01:23:57 +0000 (18:23 -0700)]
Merge pull request #240 from andlrc/fix/remove-dead-command

The function "lsp#lsp#ShowServer" isn't exported anymore

2 years agoMerge pull request #239 from andlrc/fix/textedit-sorting-needs-to-be-more-specific
Yegappan Lakshmanan [Thu, 13 Apr 2023 01:21:05 +0000 (18:21 -0700)]
Merge pull request #239 from andlrc/fix/textedit-sorting-needs-to-be-more-specific

Take the original sorting into account when sorting textedits

2 years agoThe function "lsp#lsp#ShowServer" isn't exported anymore
Andreas Louv [Wed, 12 Apr 2023 18:33:45 +0000 (20:33 +0200)]
The function "lsp#lsp#ShowServer" isn't exported anymore

The command have been moved to `:LspServer show ...`

2 years agoTake the original sorting into account when sorting textedits
Andreas Louv [Wed, 12 Apr 2023 18:29:06 +0000 (20:29 +0200)]
Take the original sorting into account when sorting textedits

Some language servers like "efm-langserver" configured with "prettier"
will provide multiple textedits for the same line and column, these are
actually sorted "correctly" but since we apply the changes in reverse we
need to also take the original sorting into account.

The range provided is something like:

    { start: { line: 10, character: 0 }, end: { line: 10, character: 0 } }

and this is the LSP servers way to provide an insert.

2 years agoMerge pull request #238 from Shane-XB-Qian/fix_kind_typo_and_tidy
Yegappan Lakshmanan [Wed, 12 Apr 2023 03:47:12 +0000 (20:47 -0700)]
Merge pull request #238 from Shane-XB-Qian/fix_kind_typo_and_tidy

fix: kind typo and tidy