]> Sergey Matveev's repositories - vim-lsp.git/log
vim-lsp.git
2 years agoUpgrade CI to clangd-15
Yegappan Lakshmanan [Tue, 4 Apr 2023 02:56:59 +0000 (19:56 -0700)]
Upgrade CI to clangd-15

2 years agoUse server specific log and error files. Add optional name and debug options to...
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.

2 years agoMerge pull request #212 from andlrc/fix/random-stuff
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

2 years agoMerge pull request #211 from andlrc/fix/dont-stall-omni-func
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

2 years agoMerge pull request #210 from andlrc/fix/refer-to-the-actual-buffer-var-instead-of-b
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

2 years agoMerge pull request #209 from andlrc/fix/display-error-instead-of-empty-popup-for...
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"

2 years ago$VIMPRG is always empty when printed, escape it to make the message actual helpful
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

2 years agoAlways print no references found error when there are no references
Andreas Louv [Mon, 3 Apr 2023 22:06:37 +0000 (00:06 +0200)]
Always print no references found error when there are no references

2 years agoPrint error when no alternate file can be found
Andreas Louv [Mon, 3 Apr 2023 22:06:17 +0000 (00:06 +0200)]
Print error when no alternate file can be found

2 years agoAdd error tracing when hover reply parsing fails
Andreas Louv [Mon, 3 Apr 2023 22:05:14 +0000 (00:05 +0200)]
Add error tracing when hover reply parsing fails

2 years agoEnd omni search when the language server replies with nothing
Andreas Louv [Mon, 3 Apr 2023 21:38:54 +0000 (23:38 +0200)]
End omni search when the language server replies with nothing

2 years agoReturn an empty list when there are no 'omnifunc' results
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...".

2 years agoRefer to buffer variable with "bufvar*" instead of "b:"
Andreas Louv [Mon, 3 Apr 2023 21:18:05 +0000 (23:18 +0200)]
Refer to buffer variable with "bufvar*" instead of "b:"

2 years agoAdd test for error output from ":LspHover"
Andreas Louv [Mon, 3 Apr 2023 16:50:32 +0000 (18:50 +0200)]
Add test for error output from ":LspHover"

2 years agoShow error message instead of an empty popup when there are not content for ":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"

2 years agoMerge pull request #208 from andlrc/fix/hide-diag-popup-when-hover-is-called
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

2 years agoMerge pull request #207 from greeschenko/main
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

2 years agoAdd test for clearing existing popups with ":LspHover"
Andreas Louv [Mon, 3 Apr 2023 12:30:30 +0000 (14:30 +0200)]
Add test for clearing existing popups with ":LspHover"

2 years agoClose all existing popups when ":LspHover" is used
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.

2 years agoultisnip minor fix
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:23:34 +0000 (11:23 +0300)]
ultisnip minor fix

2 years agomerg to main
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:17:14 +0000 (11:17 +0300)]
merg to main

2 years agoMerge branch 'add_ultisnipsupport'
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:12:15 +0000 (11:12 +0300)]
Merge branch 'add_ultisnipsupport'

2 years agoultisnip option init
Oleksiy Hryshchenko [Mon, 3 Apr 2023 08:12:04 +0000 (11:12 +0300)]
ultisnip option init

2 years agoAdd commands to open the LSP server debug and error message files. Update the dates...
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

2 years agoUpdate the no diag found message
Yegappan Lakshmanan [Mon, 3 Apr 2023 01:24:56 +0000 (18:24 -0700)]
Update the no diag found message

2 years agoMerge pull request #206 from andlrc/add-count-for-lsp-diag-next-prev-add-lsp-diag...
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

2 years agoAdd test for ":LspDiagLast"
Andreas Louv [Mon, 3 Apr 2023 00:34:15 +0000 (02:34 +0200)]
Add test for ":LspDiagLast"

2 years agoAdd helpdocs for ":LspDiagLast"
Andreas Louv [Mon, 3 Apr 2023 00:01:52 +0000 (02:01 +0200)]
Add helpdocs for ":LspDiagLast"

2 years agoAdd ":LspDiagLast" which shows the last diagnostic
Andreas Louv [Mon, 3 Apr 2023 00:04:03 +0000 (02:04 +0200)]
Add ":LspDiagLast" which shows the last diagnostic

2 years agoAdd test for "[count]:LspDiagPrev"
Andreas Louv [Mon, 3 Apr 2023 00:31:48 +0000 (02:31 +0200)]
Add test for "[count]:LspDiagPrev"

2 years agoAdd helpdocs for ":[count]LspDiagPrev"
Andreas Louv [Mon, 3 Apr 2023 00:01:52 +0000 (02:01 +0200)]
Add helpdocs for ":[count]LspDiagPrev"

2 years agoMake it possible to provide a "[count]" for ":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`

2 years agoAdd test for "[count]:LspDiagNext"
Andreas Louv [Mon, 3 Apr 2023 00:26:45 +0000 (02:26 +0200)]
Add test for "[count]:LspDiagNext"

2 years agoAdd helpdocs for ":[count]LspDiagNext"
Andreas Louv [Mon, 3 Apr 2023 00:01:52 +0000 (02:01 +0200)]
Add helpdocs for ":[count]LspDiagNext"

2 years agoMake it possible to provide a "[count]" for ":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`

2 years agoMove ":LspDiagHere" up to be sorted correctly in the helpdocs
Andreas Louv [Mon, 3 Apr 2023 00:01:04 +0000 (02:01 +0200)]
Move ":LspDiagHere" up to be sorted correctly in the helpdocs

2 years agoMerge pull request #205 from andlrc/feat/add-exact-lspdiagcurrent-with-bang
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

2 years agoAdd test for ":LspDiagCurrent!"
Andreas Louv [Sun, 2 Apr 2023 23:21:31 +0000 (01:21 +0200)]
Add test for ":LspDiagCurrent!"

2 years agoAdd example to docs
Andreas Louv [Sun, 2 Apr 2023 23:07:41 +0000 (01:07 +0200)]
Add example to docs

2 years agoAdd docs for ":LspDiagCurrent!"
Andreas Louv [Sun, 2 Apr 2023 23:07:32 +0000 (01:07 +0200)]
Add docs for ":LspDiagCurrent!"

2 years agoAdd ! to ":LspDiagCurrent" to only show the diag if it's under the cursor
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

2 years agoTidy up helpfile
Andreas Louv [Sun, 2 Apr 2023 23:04:01 +0000 (01:04 +0200)]
Tidy up helpfile

2 years agoMerge pull request #204 from andlrc/chore/colors-in-readme
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

2 years agoHandle missing test functions properly
Yegappan Lakshmanan [Sun, 2 Apr 2023 22:22:57 +0000 (15:22 -0700)]
Handle missing test functions properly

2 years agoStart example code at column 1 in README
Andreas Louv [Sun, 2 Apr 2023 22:12:31 +0000 (00:12 +0200)]
Start example code at column 1 in README

2 years agoAdd syntax highlight of example code in README
Andreas Louv [Sun, 2 Apr 2023 22:10:46 +0000 (00:10 +0200)]
Add syntax highlight of example code in README

2 years agoMerge pull request #203 from andlrc/convert-yet-another-flaky-ts-test
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

2 years agoAdd empty tsserver test
Andreas Louv [Sun, 2 Apr 2023 21:36:30 +0000 (23:36 +0200)]
Add empty tsserver test

2 years agoConvert another flaky typescript test to a go 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.

2 years agoMerge pull request #202 from andlrc/chore/normalize-bufferinit
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

2 years agoMerge the functions "AddAutocmds" and "BufferInit"
Andreas Louv [Thu, 30 Mar 2023 12:58:05 +0000 (14:58 +0200)]
Merge the functions "AddAutocmds" and "BufferInit"

2 years agoMerge pull request #201 from andlrc/chore/add-more-help-tags
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

2 years agoRename "LspSetFileType" to "LspSetPopupFileType"
Andreas Louv [Sun, 2 Apr 2023 20:53:50 +0000 (22:53 +0200)]
Rename "LspSetFileType" to "LspSetPopupFileType"

2 years agoRename "SignatureInit" to "BufferInit"
Andreas Louv [Sun, 2 Apr 2023 20:52:56 +0000 (22:52 +0200)]
Rename "SignatureInit" to "BufferInit"

2 years agoMove "inlayhint" support check inside the "inlayhint#BufferInit" function
Andreas Louv [Sun, 2 Apr 2023 20:52:06 +0000 (22:52 +0200)]
Move "inlayhint" support check inside the "inlayhint#BufferInit" function

2 years agoAdd more help tags
Andreas Louv [Sun, 2 Apr 2023 20:48:34 +0000 (22:48 +0200)]
Add more help tags

2 years agoMerge pull request #200 from greeschenko/main
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

2 years agofix hi
Oleksiy Hryshchenko [Sun, 2 Apr 2023 18:16:59 +0000 (21:16 +0300)]
fix hi

2 years agoup
Oleksiy Hryshchenko [Sun, 2 Apr 2023 18:16:18 +0000 (21:16 +0300)]
up

2 years agoadd more highlite replesment variants to doc
Oleksiy Hryshchenko [Sun, 2 Apr 2023 09:59:36 +0000 (12:59 +0300)]
add more highlite replesment variants to doc

2 years agoUse default highlight groups and remove the highlight groups from options
Yegappan Lakshmanan [Sun, 2 Apr 2023 00:49:26 +0000 (17:49 -0700)]
Use default highlight groups and remove the highlight groups from options

2 years agoMove the server/client capabilities functions to a separate file. Sort the 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

2 years agoMerge pull request #198 from andlrc/feat/add-option-to-show-references-in-qf
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

2 years agoMake it possible to use the quickfix list for locations
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.

2 years agoAdd failing test for hydrating quickfix list
Andreas Louv [Sat, 1 Apr 2023 19:24:57 +0000 (21:24 +0200)]
Add failing test for hydrating quickfix list

2 years agoAdd description about the hoverInPreview option
Andreas Louv [Sat, 1 Apr 2023 18:37:24 +0000 (20:37 +0200)]
Add description about the hoverInPreview option

2 years agoMerge pull request #197 from andlrc/unicode
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

2 years agoAdd any additional initializeResult properties to ":LspShowServerCapabilities"
Andreas Louv [Fri, 31 Mar 2023 16:16:44 +0000 (18:16 +0200)]
Add any additional initializeResult properties to ":LspShowServerCapabilities"

2 years agoInform language servers that we really only supports utf-32
Andreas Louv [Fri, 31 Mar 2023 16:07:10 +0000 (18:07 +0200)]
Inform language servers that we really only supports utf-32

2 years agoAdd breaking Unicode character offset test
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.

2 years agoMerge pull request #195 from andlrc/fix/convert-flaky-tsserver-test-to-clangd
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

2 years agoMerge branch 'main' into fix/convert-flaky-tsserver-test-to-clangd
Yegappan Lakshmanan [Fri, 31 Mar 2023 01:31:23 +0000 (18:31 -0700)]
Merge branch 'main' into fix/convert-flaky-tsserver-test-to-clangd

2 years agoMerge pull request #194 from andlrc/test/add-test-for-highlightDiagInline
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

2 years agoMerge pull request #193 from andlrc/fix/ignore-invalid-lnum-and-column-for-prop_add
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

2 years agoMerge pull request #190 from greeschenko/main
Yegappan Lakshmanan [Fri, 31 Mar 2023 01:18:48 +0000 (18:18 -0700)]
Merge pull request #190 from greeschenko/main

add diagnostics signs options

2 years agoAdd test for inline diagnostic highlight
Andreas Louv [Thu, 30 Mar 2023 17:38:25 +0000 (19:38 +0200)]
Add test for inline diagnostic highlight

2 years agoAdd tiny sleeps in the tests to stop them from being flaky
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

2 years agoConvert flaky TypeScript test to a clangd test
Andreas Louv [Thu, 30 Mar 2023 22:38:24 +0000 (00:38 +0200)]
Convert flaky TypeScript test to a clangd test

2 years agofix diagVirtualTextHL help text position
Oleksiy Hryshchenko [Thu, 30 Mar 2023 17:43:15 +0000 (20:43 +0300)]
fix diagVirtualTextHL help text position

2 years agoIgnore invalid lnum and column for prop_add
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.

2 years agofix doc option list alphabeticall sort
Oleksiy Hryshchenko [Thu, 30 Mar 2023 07:45:05 +0000 (10:45 +0300)]
fix doc option list alphabeticall sort

2 years agoCompletion doesn't properly work with multibyte characters
Yegappan Lakshmanan [Thu, 30 Mar 2023 03:21:34 +0000 (20:21 -0700)]
Completion doesn't properly work with multibyte characters

2 years agoMerge pull request #191 from andlrc/feat/inline-diagnostic-highlight
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

2 years agoClear inline diagnostic highlight with ":LspDiagHighlightDisable"
Andreas Louv [Wed, 29 Mar 2023 18:38:26 +0000 (20:38 +0200)]
Clear inline diagnostic highlight with ":LspDiagHighlightDisable"

2 years agoAdd support for inline diagnostic highlight
Andreas Louv [Wed, 29 Mar 2023 18:36:26 +0000 (20:36 +0200)]
Add support for inline diagnostic highlight

2 years agoup
Oleksiy Hryshchenko [Wed, 29 Mar 2023 18:39:17 +0000 (21:39 +0300)]
up

2 years agoadd diagnostics signs options
Oleksiy Hryshchenko [Wed, 29 Mar 2023 17:58:04 +0000 (20:58 +0300)]
add diagnostics signs options

2 years agoWhen using virtual text for diag messages, don't display the diag popup. Check the...
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.

2 years agoMove the diag sign and prop type definitions to a separate function
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

2 years agoMerge pull request #187 from greeschenko/main
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

2 years agoconnect digs virtual text display with autoHighlightDiags option
Oleksiy Hryshchenko [Tue, 28 Mar 2023 09:22:57 +0000 (12:22 +0300)]
connect digs virtual text display with autoHighlightDiags option

2 years agoadd bufload and remove single quotes from the key names
Oleksiy Hryshchenko [Tue, 28 Mar 2023 08:40:03 +0000 (11:40 +0300)]
add bufload and remove single quotes from the key names

2 years agoConsistently use the colon prefix for Ex commands
Yegappan Lakshmanan [Tue, 28 Mar 2023 01:50:06 +0000 (18:50 -0700)]
Consistently use the colon prefix for Ex commands

2 years agoMerge pull request #188 from andlrc/fix/wrap-popup-text
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

2 years agoadd diagVirtualTextHL highlight option
Oleksiy Hryshchenko [Mon, 27 Mar 2023 16:00:30 +0000 (19:00 +0300)]
add diagVirtualTextHL highlight option

2 years agoMake room for a large diagnostic message
Andreas Louv [Mon, 27 Mar 2023 15:07:47 +0000 (17:07 +0200)]
Make room for a large diagnostic message

2 years agoMerge pull request #186 from ycycyyc/fix
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

2 years agoadd diagnostic messages display with virtual text and pointer
Oleksiy Hryshchenko [Mon, 27 Mar 2023 11:27:09 +0000 (14:27 +0300)]
add diagnostic messages display with virtual text and pointer

2 years agofix: error in diags display
ycycyyc [Mon, 27 Mar 2023 11:07:12 +0000 (19:07 +0800)]
fix: error in diags display

2 years agoSupply the signature help client capabilities when registering with the language...
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