]>
Sergey Matveev's repositories - vim-lsp.git/log
berggeist [Fri, 21 Apr 2023 18:45:16 +0000 (20:45 +0200)]
Cleanup of code duplications for diagnostics.
Yegappan Lakshmanan [Fri, 21 Apr 2023 05:25:05 +0000 (22:25 -0700)]
Use filterText to filter the completion matches. Move the Ultisnips code to a separate function
Yegappan Lakshmanan [Fri, 21 Apr 2023 05:05:30 +0000 (22:05 -0700)]
In Vim9 scripts, 'ignorecase' is not used for comparison operators
Yegappan Lakshmanan [Fri, 21 Apr 2023 03:37:11 +0000 (20:37 -0700)]
Merge pull request #282 from lithammer/sort-by-sortText
Sort complete items based on `sortText`
Peter Lithammer [Thu, 20 Apr 2023 15:13:36 +0000 (17:13 +0200)]
Sort complete items based on `sortText`
With this, complete items should be sorted in the same way as Visual
Studio Code (more or less). Unless the fuzzy matcher is enabled.
Fixes #281
Yegappan Lakshmanan [Wed, 19 Apr 2023 02:22:42 +0000 (19:22 -0700)]
Merge pull request #280 from andlrc/stop-error-when-omni-compl-timeout
Return empty completion set in case omni-completion times-out
Yegappan Lakshmanan [Wed, 19 Apr 2023 02:15:49 +0000 (19:15 -0700)]
Merge pull request #279 from andlrc/ignore-hl-invalid-lnum-and-col
Prevent raising errors when highlight arrive for deleted lines
Andreas Louv [Tue, 18 Apr 2023 19:51:22 +0000 (21:51 +0200)]
Return empty completion set in case omni-completion times-out
Andreas Louv [Tue, 18 Apr 2023 19:48:08 +0000 (21:48 +0200)]
Prevent raising errors when highlight arrive for deleted lines
This is the same problem that was fixed in #193 (
3661dc0 ) as the
highlight also arrive asynchronous.
Yegappan Lakshmanan [Tue, 18 Apr 2023 14:17:28 +0000 (07:17 -0700)]
Merge pull request #278 from kalmiz/fix-diagshighlightenable
Remove extra `endif` from DiagsHighlightEnable
Zoltan Kalmar [Tue, 18 Apr 2023 08:25:04 +0000 (10:25 +0200)]
Remove extra `endif` from DiagsHighlightEnable
Yegappan Lakshmanan [Mon, 17 Apr 2023 14:10:49 +0000 (07:10 -0700)]
Use case sensitive comparison for command names and option values
Yegappan Lakshmanan [Mon, 17 Apr 2023 14:09:43 +0000 (07:09 -0700)]
Merge pull request #273 from berggeist/add-align-option-for-diag-virtual-text
Adds option to align diagnostics virtual text
Yegappan Lakshmanan [Sun, 16 Apr 2023 23:43:50 +0000 (16:43 -0700)]
Add tests for :LspServer command error cases.
Yegappan Lakshmanan [Sun, 16 Apr 2023 22:37:01 +0000 (15:37 -0700)]
Merge pull request #277 from andlrc/feat/add-count-to-LspGoto-and-LspPeek
Feat/add count to lsp goto and lsp peek
Andreas Louv [Sun, 16 Apr 2023 22:09:03 +0000 (00:09 +0200)]
Add example of count in the docs
Andreas Louv [Sun, 16 Apr 2023 21:54:04 +0000 (23:54 +0200)]
Add test
Andreas Louv [Sun, 16 Apr 2023 21:50:17 +0000 (23:50 +0200)]
Add count to Lsp{Goto,Peek}-commands
By providing a count the commands works as if there was only one found
location, instead of how currently a location-list and popup is created
for multiple results.
Yegappan Lakshmanan [Sun, 16 Apr 2023 21:50:29 +0000 (14:50 -0700)]
Change domain to feature
Yegappan Lakshmanan [Sun, 16 Apr 2023 21:44:46 +0000 (14:44 -0700)]
Change assert_match() to assert_equal()
Yegappan Lakshmanan [Sun, 16 Apr 2023 21:27:45 +0000 (14:27 -0700)]
Merge pull request #263 from Shane-XB-Qian/feat_util_msg_fmt
Feat: util msg fmt
Yegappan Lakshmanan [Sun, 16 Apr 2023 19:35:05 +0000 (12:35 -0700)]
Merge pull request #276 from andlrc/feat/add-count-to-lspoutline
Feat/add count to lspoutline
Yegappan Lakshmanan [Sun, 16 Apr 2023 19:32:34 +0000 (12:32 -0700)]
Merge pull request #275 from andlrc/use-lambda-instead-of-funcref
Move `fname` to the end of the arguments in `symbol#DocSymbolReply`
Yegappan Lakshmanan [Sun, 16 Apr 2023 19:32:03 +0000 (12:32 -0700)]
Merge pull request #264 from Shane-XB-Qian/fix_tidy_echom
Fix tidy echom
shane.xb.qian [Sun, 16 Apr 2023 00:42:38 +0000 (08:42 +0800)]
fix: adjust some test for err/wrn msg
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
shane.xb.qian [Sun, 16 Apr 2023 00:11:38 +0000 (08:11 +0800)]
fix: adjust err/wrn msg in test
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
shane.xb.qian [Sat, 15 Apr 2023 23:53:17 +0000 (07:53 +0800)]
feat: tidy err/wrn msg
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
shane.xb.qian [Sun, 16 Apr 2023 02:27:49 +0000 (10:27 +0800)]
fix: tidy echom to InfoMsg
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
shane.xb.qian [Sun, 16 Apr 2023 02:41:38 +0000 (10:41 +0800)]
fix: gave ntf info msg when/if no lsp servers for cur buf
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
shane.xb.qian [Sun, 16 Apr 2023 08:03:00 +0000 (16:03 +0800)]
none: safeguard the log level
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>
Andreas Louv [Sun, 16 Apr 2023 18:32:08 +0000 (20:32 +0200)]
Add documentation for "<count>LspOutline"
Andreas Louv [Sun, 16 Apr 2023 18:28:42 +0000 (20:28 +0200)]
Make ":<count>LspOutline" work like "outlineWinSize"
Andreas Louv [Sun, 16 Apr 2023 18:28:20 +0000 (20:28 +0200)]
Add test for "outlineWinSize"
Andreas Louv [Sun, 16 Apr 2023 18:14:22 +0000 (20:14 +0200)]
Move the "fname" argument to the end by using a lambda
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
Andreas Louv [Sun, 16 Apr 2023 08:26:27 +0000 (10:26 +0200)]
Raise an error if no hover server is found
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"
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
berggeist [Sun, 16 Apr 2023 17:27:01 +0000 (19:27 +0200)]
Resolves review comments of initial PR
Andreas Louv [Sun, 16 Apr 2023 16:50:17 +0000 (18:50 +0200)]
Add examples and references to the two options that affect ":LspOutline"
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.
Andreas Louv [Sun, 16 Apr 2023 12:02:15 +0000 (14:02 +0200)]
Add error message to "LspHighlight"
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 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
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"
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
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.
Andreas Louv [Sun, 16 Apr 2023 13:21:10 +0000 (15:21 +0200)]
Add test for outline window position
Andreas Louv [Sun, 16 Apr 2023 13:07:47 +0000 (15:07 +0200)]
Make it possible to out-out of vert splits
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.
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.
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