]>
Sergey Matveev's repositories - vim-lsp.git/log
Yegappan Lakshmanan [Tue, 4 Apr 2023 02:49:56 +0000 (19:49 -0700)]
Use server specific log and error files. Add optional name and debug options to the LSP server configuration. Use server specific debug flag for logging.
Yegappan Lakshmanan [Tue, 4 Apr 2023 01:35:13 +0000 (18:35 -0700)]
Merge pull request #212 from andlrc/fix/random-stuff
Add error messages etc
Yegappan Lakshmanan [Tue, 4 Apr 2023 01:29:54 +0000 (18:29 -0700)]
Merge pull request #211 from andlrc/fix/dont-stall-omni-func
Fix/dont stall omni func
Yegappan Lakshmanan [Tue, 4 Apr 2023 01:24:23 +0000 (18:24 -0700)]
Merge pull request #210 from andlrc/fix/refer-to-the-actual-buffer-var-instead-of-b
Fix/refer to the actual buffer var instead of b
Yegappan Lakshmanan [Tue, 4 Apr 2023 01:21:01 +0000 (18:21 -0700)]
Merge pull request #209 from andlrc/fix/display-error-instead-of-empty-popup-for-hover
Show error message instead of an empty popup when there are not content for ":LspHover"
Andreas Louv [Mon, 3 Apr 2023 22:07:13 +0000 (00:07 +0200)]
$VIMPRG is always empty when printed, escape it to make the message actual helpful
Andreas Louv [Mon, 3 Apr 2023 22:06:37 +0000 (00:06 +0200)]
Always print no references found error when there are no references
Andreas Louv [Mon, 3 Apr 2023 22:06:17 +0000 (00:06 +0200)]
Print error when no alternate file can be found
Andreas Louv [Mon, 3 Apr 2023 22:05:14 +0000 (00:05 +0200)]
Add error tracing when hover reply parsing fails
Andreas Louv [Mon, 3 Apr 2023 21:38:54 +0000 (23:38 +0200)]
End omni search when the language server replies with nothing
Andreas Louv [Mon, 3 Apr 2023 21:34:13 +0000 (23:34 +0200)]
Return an empty list when there are no 'omnifunc' results
This will let the omni search terminate and print
"-- Omni completion (^O^N^P) Pattern not found"
instead of making it end up printing
"-- Omni completion (^O^N^P) -- Searching...".
Andreas Louv [Mon, 3 Apr 2023 21:18:05 +0000 (23:18 +0200)]
Refer to buffer variable with "bufvar*" instead of "b:"
Andreas Louv [Mon, 3 Apr 2023 16:50:32 +0000 (18:50 +0200)]
Add test for error output from ":LspHover"
Andreas Louv [Mon, 3 Apr 2023 16:40:06 +0000 (18:40 +0200)]
Show error message instead of an empty popup when there are not content for ":LspHover"
Yegappan Lakshmanan [Mon, 3 Apr 2023 14:16:00 +0000 (07:16 -0700)]
Merge pull request #208 from andlrc/fix/hide-diag-popup-when-hover-is-called
Hide diagnostic popup when ":LspHover" is used
Yegappan Lakshmanan [Mon, 3 Apr 2023 14:14:15 +0000 (07:14 -0700)]
Merge pull request #207 from greeschenko/main
add basic SirVer/ultisnips optional support
Andreas Louv [Mon, 3 Apr 2023 12:30:30 +0000 (14:30 +0200)]
Add test for clearing existing popups with ":LspHover"
Andreas Louv [Mon, 3 Apr 2023 11:02:31 +0000 (13:02 +0200)]
Close all existing popups when ":LspHover" is used
This related to the introduction of ":LspDiagCurrent!", Introduced in
"
be2221b ~..
4c93f5d ", as the automatic diagnostic popup will be above the
hover popup.
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:23:34 +0000 (11:23 +0300)]
ultisnip minor fix
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:17:14 +0000 (11:17 +0300)]
merg to main
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:12:15 +0000 (11:12 +0300)]
Merge branch 'add_ultisnipsupport'
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:12:04 +0000 (11:12 +0300)]
ultisnip option init
Yegappan Lakshmanan [Mon, 3 Apr 2023 02:04:48 +0000 (19:04 -0700)]
Add commands to open the LSP server debug and error message files. Update the dates in the license
Yegappan Lakshmanan [Mon, 3 Apr 2023 01:24:56 +0000 (18:24 -0700)]
Update the no diag found message
Yegappan Lakshmanan [Mon, 3 Apr 2023 01:23:14 +0000 (18:23 -0700)]
Merge pull request #206 from andlrc/add-count-for-lsp-diag-next-prev-add-lsp-diag-last
Add [count]LspDiag{Next,Prev} and add :LspDiagLast
Andreas Louv [Mon, 3 Apr 2023 00:34:15 +0000 (02:34 +0200)]
Add test for ":LspDiagLast"
Andreas Louv [Mon, 3 Apr 2023 00:01:52 +0000 (02:01 +0200)]
Add helpdocs for ":LspDiagLast"
Andreas Louv [Mon, 3 Apr 2023 00:04:03 +0000 (02:04 +0200)]
Add ":LspDiagLast" which shows the last diagnostic
Andreas Louv [Mon, 3 Apr 2023 00:31:48 +0000 (02:31 +0200)]
Add test for "[count]:LspDiagPrev"
Andreas Louv [Mon, 3 Apr 2023 00:01:52 +0000 (02:01 +0200)]
Add helpdocs for ":[count]LspDiagPrev"
Andreas Louv [Mon, 3 Apr 2023 00:00:21 +0000 (02:00 +0200)]
Make it possible to provide a "[count]" for ":LspDiagPrev"
This works somewhat like the count for `:h :cbefore`
Andreas Louv [Mon, 3 Apr 2023 00:26:45 +0000 (02:26 +0200)]
Add test for "[count]:LspDiagNext"
Andreas Louv [Mon, 3 Apr 2023 00:01:52 +0000 (02:01 +0200)]
Add helpdocs for ":[count]LspDiagNext"
Andreas Louv [Mon, 3 Apr 2023 00:00:21 +0000 (02:00 +0200)]
Make it possible to provide a "[count]" for ":LspDiagNext"
This works somewhat like the count for `:h :cafter`
Andreas Louv [Mon, 3 Apr 2023 00:01:04 +0000 (02:01 +0200)]
Move ":LspDiagHere" up to be sorted correctly in the helpdocs
Yegappan Lakshmanan [Mon, 3 Apr 2023 00:26:48 +0000 (17:26 -0700)]
Merge pull request #205 from andlrc/feat/add-exact-lspdiagcurrent-with-bang
Add `:LspDiagCurrent!` to _only_ show diags if they are under the cursor
Andreas Louv [Sun, 2 Apr 2023 23:21:31 +0000 (01:21 +0200)]
Add test for ":LspDiagCurrent!"
Andreas Louv [Sun, 2 Apr 2023 23:07:41 +0000 (01:07 +0200)]
Add example to docs
Andreas Louv [Sun, 2 Apr 2023 23:07:32 +0000 (01:07 +0200)]
Add docs for ":LspDiagCurrent!"
Andreas Louv [Sun, 2 Apr 2023 23:05:26 +0000 (01:05 +0200)]
Add ! to ":LspDiagCurrent" to only show the diag if it's under the cursor
This is nice to tie together with a "CursorMoved" autocmd:
augroup LspCustom
au!
au CursorMoved * silent! LspDiagCurrent!
augroup END
Andreas Louv [Sun, 2 Apr 2023 23:04:01 +0000 (01:04 +0200)]
Tidy up helpfile
Yegappan Lakshmanan [Sun, 2 Apr 2023 22:27:06 +0000 (15:27 -0700)]
Merge pull request #204 from andlrc/chore/colors-in-readme
Chore/colors in readme
Yegappan Lakshmanan [Sun, 2 Apr 2023 22:22:57 +0000 (15:22 -0700)]
Handle missing test functions properly
Andreas Louv [Sun, 2 Apr 2023 22:12:31 +0000 (00:12 +0200)]
Start example code at column 1 in README
Andreas Louv [Sun, 2 Apr 2023 22:10:46 +0000 (00:10 +0200)]
Add syntax highlight of example code in README
Yegappan Lakshmanan [Sun, 2 Apr 2023 21:56:43 +0000 (14:56 -0700)]
Merge pull request #203 from andlrc/convert-yet-another-flaky-ts-test
Convert yet another flaky ts test
Andreas Louv [Sun, 2 Apr 2023 21:36:30 +0000 (23:36 +0200)]
Add empty tsserver test
Andreas Louv [Sun, 2 Apr 2023 21:24:14 +0000 (23:24 +0200)]
Convert another flaky typescript test to a go test
The TypeScript tests are flaky as soon as they require diagnostics, as
the diagnostic notification takes to long to be send by the server.
Yegappan Lakshmanan [Sun, 2 Apr 2023 21:36:35 +0000 (14:36 -0700)]
Merge pull request #202 from andlrc/chore/normalize-bufferinit
Chore/normalize bufferinit
Andreas Louv [Thu, 30 Mar 2023 12:58:05 +0000 (14:58 +0200)]
Merge the functions "AddAutocmds" and "BufferInit"
Yegappan Lakshmanan [Sun, 2 Apr 2023 21:31:09 +0000 (14:31 -0700)]
Merge pull request #201 from andlrc/chore/add-more-help-tags
Add more help tags
Andreas Louv [Sun, 2 Apr 2023 20:53:50 +0000 (22:53 +0200)]
Rename "LspSetFileType" to "LspSetPopupFileType"
Andreas Louv [Sun, 2 Apr 2023 20:52:56 +0000 (22:52 +0200)]
Rename "SignatureInit" to "BufferInit"
Andreas Louv [Sun, 2 Apr 2023 20:52:06 +0000 (22:52 +0200)]
Move "inlayhint" support check inside the "inlayhint#BufferInit" function
Andreas Louv [Sun, 2 Apr 2023 20:48:34 +0000 (22:48 +0200)]
Add more help tags
Yegappan Lakshmanan [Sun, 2 Apr 2023 19:25:18 +0000 (12:25 -0700)]
Merge pull request #200 from greeschenko/main
add more highlite replesment variants to docs
Oleksiy Hryshchenko [Sun, 2 Apr 2023 18:16:59 +0000 (21:16 +0300)]
fix hi
Oleksiy Hryshchenko [Sun, 2 Apr 2023 18:16:18 +0000 (21:16 +0300)]
up
Oleksiy Hryshchenko [Sun, 2 Apr 2023 09:59:36 +0000 (12:59 +0300)]
add more highlite replesment variants to doc
Yegappan Lakshmanan [Sun, 2 Apr 2023 00:49:26 +0000 (17:49 -0700)]
Use default highlight groups and remove the highlight groups from options
Yegappan Lakshmanan [Sat, 1 Apr 2023 21:39:49 +0000 (14:39 -0700)]
Move the server/client capabilities functions to a separate file. Sort the options alphabetically
Yegappan Lakshmanan [Sat, 1 Apr 2023 21:30:34 +0000 (14:30 -0700)]
Merge pull request #198 from andlrc/feat/add-option-to-show-references-in-qf
Feat/add option to show references in qf
Andreas Louv [Sat, 1 Apr 2023 18:42:05 +0000 (20:42 +0200)]
Make it possible to use the quickfix list for locations
Locations can come from ":LspShowReferences" but also
":LspGotoDefinition", when there are multiple matches.
Andreas Louv [Sat, 1 Apr 2023 19:24:57 +0000 (21:24 +0200)]
Add failing test for hydrating quickfix list
Andreas Louv [Sat, 1 Apr 2023 18:37:24 +0000 (20:37 +0200)]
Add description about the hoverInPreview option
Yegappan Lakshmanan [Sat, 1 Apr 2023 02:07:29 +0000 (19:07 -0700)]
Merge pull request #197 from andlrc/unicode
Inform language servers that we really only supports utf-32
Andreas Louv [Fri, 31 Mar 2023 16:16:44 +0000 (18:16 +0200)]
Add any additional initializeResult properties to ":LspShowServerCapabilities"
Andreas Louv [Fri, 31 Mar 2023 16:07:10 +0000 (18:07 +0200)]
Inform language servers that we really only supports utf-32
Andreas Louv [Tue, 14 Mar 2023 07:53:49 +0000 (08:53 +0100)]
Add breaking Unicode character offset test
The reason for this test to fail is that the language protocol requires
offsets to be send based on UTF-16 strings, but currently they are
computed based on another encoding.
Yegappan Lakshmanan [Fri, 31 Mar 2023 01:34:18 +0000 (18:34 -0700)]
Merge pull request #195 from andlrc/fix/convert-flaky-tsserver-test-to-clangd
Convert flaky TypeScript test to a clangd test
Yegappan Lakshmanan [Fri, 31 Mar 2023 01:31:23 +0000 (18:31 -0700)]
Merge branch 'main' into fix/convert-flaky-tsserver-test-to-clangd
Yegappan Lakshmanan [Fri, 31 Mar 2023 01:26:42 +0000 (18:26 -0700)]
Merge pull request #194 from andlrc/test/add-test-for-highlightDiagInline
Test/add test for highlight diag inline
Yegappan Lakshmanan [Fri, 31 Mar 2023 01:23:28 +0000 (18:23 -0700)]
Merge pull request #193 from andlrc/fix/ignore-invalid-lnum-and-column-for-prop_add
Ignore invalid lnum and column for prop_add
Yegappan Lakshmanan [Fri, 31 Mar 2023 01:18:48 +0000 (18:18 -0700)]
Merge pull request #190 from greeschenko/main
add diagnostics signs options
Andreas Louv [Thu, 30 Mar 2023 17:38:25 +0000 (19:38 +0200)]
Add test for inline diagnostic highlight
Andreas Louv [Thu, 30 Mar 2023 23:02:01 +0000 (01:02 +0200)]
Add tiny sleeps in the tests to stop them from being flaky
Andreas Louv [Thu, 30 Mar 2023 22:38:24 +0000 (00:38 +0200)]
Convert flaky TypeScript test to a clangd test
Oleksiy Hryshchenko [Thu, 30 Mar 2023 17:43:15 +0000 (20:43 +0300)]
fix diagVirtualTextHL help text position
Andreas Louv [Thu, 30 Mar 2023 16:07:49 +0000 (18:07 +0200)]
Ignore invalid lnum and column for prop_add
Diagnostics arrive asynchronous and the document might have changed
before they reach the client.
This could cause the line number or column to be invalid when the
diagnostics arrive.
Ignoring these errors isn't a big deal as new diagnostics will be send
by the server shortly. And when there isn't any document changes, the
client will be updated ASAP.
Oleksiy Hryshchenko [Thu, 30 Mar 2023 07:45:05 +0000 (10:45 +0300)]
fix doc option list alphabeticall sort
Yegappan Lakshmanan [Thu, 30 Mar 2023 03:21:34 +0000 (20:21 -0700)]
Completion doesn't properly work with multibyte characters
Yegappan Lakshmanan [Thu, 30 Mar 2023 02:54:01 +0000 (19:54 -0700)]
Merge pull request #191 from andlrc/feat/inline-diagnostic-highlight
Feat/inline diagnostic highlight
Andreas Louv [Wed, 29 Mar 2023 18:38:26 +0000 (20:38 +0200)]
Clear inline diagnostic highlight with ":LspDiagHighlightDisable"
Andreas Louv [Wed, 29 Mar 2023 18:36:26 +0000 (20:36 +0200)]
Add support for inline diagnostic highlight
Oleksiy Hryshchenko [Wed, 29 Mar 2023 18:39:17 +0000 (21:39 +0300)]
up
Oleksiy Hryshchenko [Wed, 29 Mar 2023 17:58:04 +0000 (20:58 +0300)]
add diagnostics signs options
Yegappan Lakshmanan [Wed, 29 Mar 2023 02:22:53 +0000 (19:22 -0700)]
When using virtual text for diag messages, don't display the diag popup. Check the LSP server job status instead of the channel status.
Yegappan Lakshmanan [Tue, 28 Mar 2023 14:26:36 +0000 (07:26 -0700)]
Move the diag sign and prop type definitions to a separate function
Yegappan Lakshmanan [Tue, 28 Mar 2023 13:50:14 +0000 (06:50 -0700)]
Merge pull request #187 from greeschenko/main
add diagnostic messages display with virtual text and pointer
Oleksiy Hryshchenko [Tue, 28 Mar 2023 09:22:57 +0000 (12:22 +0300)]
connect digs virtual text display with autoHighlightDiags option
Oleksiy Hryshchenko [Tue, 28 Mar 2023 08:40:03 +0000 (11:40 +0300)]
add bufload and remove single quotes from the key names
Yegappan Lakshmanan [Tue, 28 Mar 2023 01:50:06 +0000 (18:50 -0700)]
Consistently use the colon prefix for Ex commands
Yegappan Lakshmanan [Tue, 28 Mar 2023 01:39:21 +0000 (18:39 -0700)]
Merge pull request #188 from andlrc/fix/wrap-popup-text
Wrap popup text
Oleksiy Hryshchenko [Mon, 27 Mar 2023 16:00:30 +0000 (19:00 +0300)]
add diagVirtualTextHL highlight option
Andreas Louv [Mon, 27 Mar 2023 15:07:47 +0000 (17:07 +0200)]
Make room for a large diagnostic message
Yegappan Lakshmanan [Mon, 27 Mar 2023 14:26:45 +0000 (07:26 -0700)]
Merge pull request #186 from ycycyyc/fix
fix: error in diags display
Oleksiy Hryshchenko [Mon, 27 Mar 2023 11:27:09 +0000 (14:27 +0300)]
add diagnostic messages display with virtual text and pointer
ycycyyc [Mon, 27 Mar 2023 11:07:12 +0000 (19:07 +0800)]
fix: error in diags display
Yegappan Lakshmanan [Mon, 27 Mar 2023 03:28:05 +0000 (20:28 -0700)]
Supply the signature help client capabilities when registering with the language server
Yegappan Lakshmanan [Mon, 27 Mar 2023 03:07:36 +0000 (20:07 -0700)]
Add commands to display information about language server