]> Sergey Matveev's repositories - vim-lsp.git/log
vim-lsp.git
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 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

2 years agofix: kind typo and tidy
shane.xb.qian [Wed, 12 Apr 2023 03:23:32 +0000 (11:23 +0800)]
fix: kind typo and tidy

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoRevert the run_tests.sh changes
Yegappan Lakshmanan [Wed, 12 Apr 2023 01:21:10 +0000 (18:21 -0700)]
Revert the run_tests.sh changes

2 years agoToo many LSP server related commands. Consolidate the LSP server commands into a...
Yegappan Lakshmanan [Wed, 12 Apr 2023 01:19:11 +0000 (18:19 -0700)]
Too many LSP server related commands.  Consolidate the LSP server commands into a single :LspServer command using sub-commands

2 years agoMerge pull request #237 from andlrc/chore/rename-functions
Yegappan Lakshmanan [Wed, 12 Apr 2023 00:42:54 +0000 (17:42 -0700)]
Merge pull request #237 from andlrc/chore/rename-functions

Chore/rename functions

2 years agoMerge pull request #236 from andlrc/chore/refactor-LSPShowServer-internals
Yegappan Lakshmanan [Wed, 12 Apr 2023 00:41:54 +0000 (17:41 -0700)]
Merge pull request #236 from andlrc/chore/refactor-LSPShowServer-internals

Chore/refactor lsp show server internals

2 years agoMerge pull request #235 from andlrc/feat/add-test-for-helptags
Yegappan Lakshmanan [Wed, 12 Apr 2023 00:39:38 +0000 (17:39 -0700)]
Merge pull request #235 from andlrc/feat/add-test-for-helptags

Add test to ensure that helptags can be generated without problems

2 years agoMerge pull request #234 from D4yvid/feat/custom-completion-kind
Yegappan Lakshmanan [Wed, 12 Apr 2023 00:34:37 +0000 (17:34 -0700)]
Merge pull request #234 from D4yvid/feat/custom-completion-kind

feat: Add custom completion kind

2 years agoUse "LspShowServer capabilities" instead of rollign own function
Andreas Louv [Tue, 11 Apr 2023 15:04:17 +0000 (17:04 +0200)]
Use "LspShowServer capabilities" instead of rollign own function

2 years agoMove Scratch Window rendering logic to "lsp#lsp#ShowServer"
Andreas Louv [Tue, 11 Apr 2023 15:03:22 +0000 (17:03 +0200)]
Move Scratch Window rendering logic to "lsp#lsp#ShowServer"

2 years agoAdd test to ensure that helptags can be generated without problems
Andreas Louv [Tue, 11 Apr 2023 15:59:16 +0000 (17:59 +0200)]
Add test to ensure that helptags can be generated without problems

The test will raise an exception like:

Error: Test Test_Helptags() failed with exception Vim(helptags):E154: Duplicate tag "lsp-opt-completionKinds" in file ../doc/lsp.txt at command line..script ~/.vim/pack/plugins/opt/lsp/test/runner.vim[50]..function <SNR>1_LspRunTests[20]..Test_Helptags, line 1

2 years agoUpdate lsp.txt
Dayvid Albuquerque [Tue, 11 Apr 2023 15:52:53 +0000 (12:52 -0300)]
Update lsp.txt

2 years agoChange the "completionKinds" documentation text.
Dayvid Albuquerque [Tue, 11 Apr 2023 15:41:13 +0000 (12:41 -0300)]
Change the "completionKinds" documentation text.

2 years agoUse spaces instead of tabs in the kinds table
Dayvid Albuquerque [Tue, 11 Apr 2023 15:34:15 +0000 (12:34 -0300)]
Use spaces instead of tabs in the kinds table

2 years agofeat: Add custom completion kind
D4yvid [Tue, 11 Apr 2023 15:28:14 +0000 (12:28 -0300)]
feat: Add custom completion kind