]>
Sergey Matveev's repositories - vim-lsp.git/log
berggeist [Sun, 16 Apr 2023 16:19:46 +0000 (18:19 +0200)]
Adds option to align diagnostics virtual text
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
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>
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
Andreas Louv [Sat, 15 Apr 2023 18:02:48 +0000 (20:02 +0200)]
Add "runUnlessSearch" which is the opposite of "runIfSearch"
Andreas Louv [Sat, 15 Apr 2023 13:47:17 +0000 (15:47 +0200)]
Add "runIfSearch" to as make "rootSearch" only have one concern
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
Andreas Louv [Fri, 14 Apr 2023 21:39:30 +0000 (23:39 +0200)]
Make it possible to disable diagnostics for a specific server
Andreas Louv [Fri, 14 Apr 2023 21:07:54 +0000 (23:07 +0200)]
Make it possible to disable langauge server features
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
Oleksiy Hryshchenko [Fri, 14 Apr 2023 21:07:12 +0000 (00:07 +0300)]
small fix for ultisnip description
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
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.
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
shane.xb.qian [Fri, 14 Apr 2023 14:45:56 +0000 (22:45 +0800)]
none: remove '->resolve()'
shane.xb.qian [Fri, 14 Apr 2023 14:44:58 +0000 (22:44 +0800)]
none: remove writable check in ClearTraceLogs
shane.xb.qian [Fri, 14 Apr 2023 12:28:27 +0000 (20:28 +0800)]
none: correct completionTextEdit doc tag
shane.xb.qian [Fri, 14 Apr 2023 07:22:43 +0000 (15:22 +0800)]
fix: resolve symlink in case
shane.xb.qian [Fri, 14 Apr 2023 06:35:33 +0000 (14:35 +0800)]
fix: no lsp server prefix-name to identify ws
shane.xb.qian [Fri, 14 Apr 2023 06:22:04 +0000 (14:22 +0800)]
none: tidy doc
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>
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
Andreas Louv [Thu, 13 Apr 2023 18:52:10 +0000 (20:52 +0200)]
Make SetTrace support multiple servers
Andreas Louv [Thu, 13 Apr 2023 18:51:43 +0000 (20:51 +0200)]
Show information about all servers running for a buffer in ":LspShowAllServers"
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'
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
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
Andreas Louv [Wed, 12 Apr 2023 05:58:10 +0000 (07:58 +0200)]
Make it possible to get diagnostics/line for a single server
Andreas Louv [Wed, 12 Apr 2023 05:57:33 +0000 (07:57 +0200)]
Remove the unused "lspserver" parameter
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.
Andreas Louv [Wed, 12 Apr 2023 08:25:43 +0000 (10:25 +0200)]
Add support for a 'foldingRange' language server
Andreas Louv [Wed, 12 Apr 2023 08:25:30 +0000 (10:25 +0200)]
Add support for a 'selectionRange' language server
Andreas Louv [Wed, 12 Apr 2023 08:25:16 +0000 (10:25 +0200)]
Add support for a 'documentHighlight' language server
Andreas Louv [Wed, 12 Apr 2023 08:24:12 +0000 (10:24 +0200)]
Add support for a 'codeLens' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:56 +0000 (10:23 +0200)]
Add support for a 'codeAction' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:39 +0000 (10:23 +0200)]
Add support for a 'rename' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:26 +0000 (10:23 +0200)]
Add support for a 'references' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:16 +0000 (10:23 +0200)]
Add support for a 'hover' language server
Andreas Louv [Wed, 12 Apr 2023 08:23:07 +0000 (10:23 +0200)]
Add support for a 'goto ...' language server
Andreas Louv [Wed, 12 Apr 2023 08:22:22 +0000 (10:22 +0200)]
Add support for a 'completion' language server
Andreas Louv [Wed, 12 Apr 2023 08:08:59 +0000 (10:08 +0200)]
Add support for a 'documentFormatting' language server
Andreas Louv [Wed, 12 Apr 2023 09:00:10 +0000 (11:00 +0200)]
Make the code ready for adding support for "features"
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.
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
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>
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>
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
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
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
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
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
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:34:09 +0000 (08:34 -0700)]
Merge branch 'main' into feat/multiple-servers-part-3
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
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:23:01 +0000 (08:23 -0700)]
Merge branch 'main' into feat/multiple-servers-part-2
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:20:46 +0000 (08:20 -0700)]
Fix CI test failure
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
Yegappan Lakshmanan [Thu, 13 Apr 2023 15:05:02 +0000 (08:05 -0700)]
Properly handle exceptions when sourcing the test scripts
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
Dayvid Albuquerque [Thu, 13 Apr 2023 14:53:08 +0000 (11:53 -0300)]
Remove the if statement and use `get` instead
D4yvid [Thu, 13 Apr 2023 14:41:19 +0000 (11:41 -0300)]
fix: E716 when completing inside of a class with intelephense
Yegappan Lakshmanan [Thu, 13 Apr 2023 14:18:47 +0000 (07:18 -0700)]
Handle exceptions when starting the language server in tests
Yegappan Lakshmanan [Thu, 13 Apr 2023 13:51:15 +0000 (06:51 -0700)]
Merge pull request #241 from andlrc/chore/doc
Chore/doc
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add support for having multiple servers registered for the same buffer
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
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Report didOpen, didSave and didClose to all servers for a buffer
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add ID to servers
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add support for having multiple servers registered for the same buffer
Andreas Louv [Wed, 12 Apr 2023 12:09:12 +0000 (14:09 +0200)]
Add example of "customNotificationHandlers"
Andreas Louv [Wed, 12 Apr 2023 06:07:23 +0000 (08:07 +0200)]
Tidy help file
Andreas Louv [Wed, 12 Apr 2023 08:13:47 +0000 (10:13 +0200)]
Make server ready support multiple servers
Andreas Louv [Wed, 12 Apr 2023 08:13:47 +0000 (10:13 +0200)]
Make workspace folders support multiple servers
Andreas Louv [Wed, 12 Apr 2023 08:13:47 +0000 (10:13 +0200)]
Make restart server support multiple servers
Andreas Louv [Wed, 12 Apr 2023 08:12:08 +0000 (10:12 +0200)]
Make server debug support multiple servers
Andreas Louv [Tue, 11 Apr 2023 15:04:28 +0000 (17:04 +0200)]
Make ":LspServer show" support multiple servers
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
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Report didOpen, didSave and didClose to all servers for a 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
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Add ID to servers
Andreas Louv [Wed, 12 Apr 2023 12:09:12 +0000 (14:09 +0200)]
Add example of "customNotificationHandlers"
Andreas Louv [Wed, 12 Apr 2023 06:07:23 +0000 (08:07 +0200)]
Tidy help file
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
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
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 ...`
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.
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
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>
Yegappan Lakshmanan [Wed, 12 Apr 2023 01:21:10 +0000 (18:21 -0700)]
Revert the run_tests.sh changes
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
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
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
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
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
Andreas Louv [Tue, 11 Apr 2023 15:04:17 +0000 (17:04 +0200)]
Use "LspShowServer capabilities" instead of rollign own function
Andreas Louv [Tue, 11 Apr 2023 15:03:22 +0000 (17:03 +0200)]
Move Scratch Window rendering logic to "lsp#lsp#ShowServer"
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
Dayvid Albuquerque [Tue, 11 Apr 2023 15:52:53 +0000 (12:52 -0300)]
Update lsp.txt
Dayvid Albuquerque [Tue, 11 Apr 2023 15:41:13 +0000 (12:41 -0300)]
Change the "completionKinds" documentation text.
Dayvid Albuquerque [Tue, 11 Apr 2023 15:34:15 +0000 (12:34 -0300)]
Use spaces instead of tabs in the kinds table
D4yvid [Tue, 11 Apr 2023 15:28:14 +0000 (12:28 -0300)]
feat: Add custom completion kind
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Rename "lspServers" to "LSPServers"