]>
Sergey Matveev's repositories - vim-lsp.git/log
Andreas Louv [Wed, 12 Apr 2023 09:00:10 +0000 (11:00 +0200)]
Make the code ready for adding support for "features"
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"
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Rename "DiagRefreshSigns" to "DiagRefresh"
Andreas Louv [Tue, 11 Apr 2023 14:40:02 +0000 (16:40 +0200)]
Move diagnostic sorting to own function
Yegappan Lakshmanan [Tue, 11 Apr 2023 14:47:49 +0000 (07:47 -0700)]
Merge pull request #230 from greeschenko/main
add fix to not LSP documentation with tsserver lsp
Oleksiy Hryshchenko [Tue, 11 Apr 2023 14:04:12 +0000 (17:04 +0300)]
fix description and missing code in ShowCompletionDocumentation()
Oleksiy Hryshchenko [Tue, 11 Apr 2023 06:29:10 +0000 (09:29 +0300)]
refactoring
Yegappan Lakshmanan [Tue, 11 Apr 2023 01:15:26 +0000 (18:15 -0700)]
Merge pull request #229 from andlrc/feat/add-lspshowserver-initializerequest
Add ":LspShowServer initializeRequest"
Oleksiy Hryshchenko [Mon, 10 Apr 2023 20:56:47 +0000 (23:56 +0300)]
add fix to not LSP documentation with tsserver lsp
Andreas Louv [Mon, 10 Apr 2023 17:56:07 +0000 (19:56 +0200)]
Add ":LspShowServer initializeRequest"
Since it's now possible to add "rootSearch" which changes the rootUri
that is being send to the server I think it makes sense to be able to
easily get to this information. I imagine it will be useful when people
are reporting issues.
It might make sense to request people, that are doing bug reports, to
include the information from:
:LspShowServer status
:LspShowServer initializeRequest
:LspShowServer capabilities
Yegappan Lakshmanan [Mon, 10 Apr 2023 14:25:10 +0000 (07:25 -0700)]
Add support for storing and displaying the language server notification messages. Add additional arguments to the LspShowServer command
Yegappan Lakshmanan [Mon, 10 Apr 2023 12:43:50 +0000 (05:43 -0700)]
Merge pull request #222 from berggeist/correct-padding-for-virtual-text-diagnostics
Fixes the left padding of LspDiagVirtualText messages with tab chars.
Yegappan Lakshmanan [Mon, 10 Apr 2023 12:38:22 +0000 (05:38 -0700)]
Merge pull request #225 from andlrc/feat/add-support-for-more-than-one-possible-server-for-a-filetype
Make it possible to have multiple servers registred for a given filetype
Andreas Louv [Sat, 8 Apr 2023 21:18:41 +0000 (23:18 +0200)]
Print server name instead of path
Andreas Louv [Sat, 8 Apr 2023 21:01:39 +0000 (23:01 +0200)]
Make it possible to have multiple servers registred for a given filetype
Yegappan Lakshmanan [Mon, 10 Apr 2023 12:31:25 +0000 (05:31 -0700)]
Merge pull request #227 from berggeist/add-end_col-to-diag-loclist
Add range-end attributes to diagnostic location list.
Yegappan Lakshmanan [Mon, 10 Apr 2023 12:28:02 +0000 (05:28 -0700)]
Merge pull request #224 from andlrc/fix/use-cwd-as-the-default-rooturi
Use cwd as rootUri and initial workspaceFolder for files within cwd
Andreas Louv [Fri, 7 Apr 2023 22:11:29 +0000 (00:11 +0200)]
Use the parent directory for files not a descendent of the CWD
Andreas Louv [Fri, 7 Apr 2023 22:11:29 +0000 (00:11 +0200)]
Use the CWD as the "rootUri" and initial "workspaceFolder"
Yegappan Lakshmanan [Mon, 10 Apr 2023 12:20:53 +0000 (05:20 -0700)]
Merge pull request #226 from Shane-XB-Qian/pr_ws_list_init_wrong
fix: init workspace list was wrong if set rootSearch
berggeist [Mon, 10 Apr 2023 09:36:02 +0000 (11:36 +0200)]
Adds end_lnum attribute to diagnostic loclist.
berggeist [Mon, 10 Apr 2023 09:24:38 +0000 (11:24 +0200)]
Adds end_col attribute to diagnostic location list.
shane.xb.qian [Mon, 10 Apr 2023 02:00:08 +0000 (10:00 +0800)]
fix: init workspace list was wrong if set rootSearch
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Yegappan Lakshmanan [Sat, 8 Apr 2023 05:55:31 +0000 (22:55 -0700)]
Add the preliminary support for code lens
Yegappan Lakshmanan [Fri, 7 Apr 2023 23:31:02 +0000 (16:31 -0700)]
Merge pull request #223 from andlrc/fix/dont-attempt-to-setup-completion-for-servers-that-arent-providers
Don't setup completion for servers that doesn't support it
Andreas Louv [Fri, 7 Apr 2023 21:42:56 +0000 (23:42 +0200)]
Don't setup completion for servers that doesn't support it
Yegappan Lakshmanan [Fri, 7 Apr 2023 21:40:08 +0000 (14:40 -0700)]
Support for detecting the workspace root directory
Yegappan Lakshmanan [Fri, 7 Apr 2023 19:15:24 +0000 (12:15 -0700)]
Merge pull request #217 from greeschenko/main
fix: add filter to ultisnip list
Yegappan Lakshmanan [Fri, 7 Apr 2023 18:55:49 +0000 (11:55 -0700)]
Ignore indexingStarted and indexingEnded notification messages
sl [Fri, 7 Apr 2023 16:27:25 +0000 (18:27 +0200)]
Fixes the text_padding_left of LspDiagVirtualText messages if tab characters are used.
Yegappan Lakshmanan [Fri, 7 Apr 2023 14:20:00 +0000 (07:20 -0700)]
Solargraph Ruby language server returns null in the 'detail' field in some completion items
Oleksiy Hryshchenko [Thu, 6 Apr 2023 18:39:56 +0000 (21:39 +0300)]
change matchfuzzy use
Yegappan Lakshmanan [Thu, 6 Apr 2023 05:37:37 +0000 (22:37 -0700)]
Add support for the workspace/didChangeConfiguration notification
Oleksiy Hryshchenko [Wed, 5 Apr 2023 17:53:54 +0000 (20:53 +0300)]
fix: add filter to ultisnip list
Yegappan Lakshmanan [Wed, 5 Apr 2023 14:07:31 +0000 (07:07 -0700)]
Merge pull request #214 from greeschenko/main
add snippet preview to ultisnip integration
Yegappan Lakshmanan [Wed, 5 Apr 2023 14:05:39 +0000 (07:05 -0700)]
Merge pull request #216 from andlrc/fix/render-visual-selection-over-inline-diag
Render visual selection over inline diag
Andreas Louv [Wed, 5 Apr 2023 12:08:27 +0000 (14:08 +0200)]
Render visual selection over inline diag
Oleksiy Hryshchenko [Wed, 5 Apr 2023 09:36:35 +0000 (12:36 +0300)]
comment echom
Oleksiy Hryshchenko [Wed, 5 Apr 2023 09:20:30 +0000 (12:20 +0300)]
add snippet preview to ultisnip integration
Yegappan Lakshmanan [Wed, 5 Apr 2023 02:11:22 +0000 (19:11 -0700)]
Merge pull request #213 from andlrc/chore/add-sig-hl
Chore/add sig hl
Andreas Louv [Tue, 4 Apr 2023 21:51:31 +0000 (23:51 +0200)]
Add "LspSigActiveParameter" highlighting group
Andreas Louv [Tue, 4 Apr 2023 21:49:29 +0000 (23:49 +0200)]
Sort highlighting groups
Yegappan Lakshmanan [Tue, 4 Apr 2023 04:12:42 +0000 (21:12 -0700)]
Comment out the failing test
Yegappan Lakshmanan [Tue, 4 Apr 2023 03:11:29 +0000 (20:11 -0700)]
Add tests for LspGotoTypeDef and LspGotoImpl