]> Sergey Matveev's repositories - vim-lsp.git/log
vim-lsp.git
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 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

2 years agoAdd commands to display information about language server
Yegappan Lakshmanan [Mon, 27 Mar 2023 03:07:36 +0000 (20:07 -0700)]
Add commands to display information about language server

2 years agoAdd tests for the Go language server
Yegappan Lakshmanan [Sun, 26 Mar 2023 15:11:21 +0000 (08:11 -0700)]
Add tests for the Go language server

2 years agoUpdate the tests to reduce the delay
Yegappan Lakshmanan [Sun, 26 Mar 2023 03:27:03 +0000 (20:27 -0700)]
Update the tests to reduce the delay

2 years agoMerge pull request #185 from Shane-XB-Qian/pr_183
Yegappan Lakshmanan [Sun, 26 Mar 2023 02:06:25 +0000 (19:06 -0700)]
Merge pull request #185 from Shane-XB-Qian/pr_183

fix: rephrase some doc format

2 years agofix: rephrase some doc format
shane.xb.qian [Sat, 25 Mar 2023 23:48:53 +0000 (07:48 +0800)]
fix: rephrase some doc format

2 years agoIncrease the wait delay for the diags in the tests
Yegappan Lakshmanan [Sat, 25 Mar 2023 18:53:57 +0000 (11:53 -0700)]
Increase the wait delay for the diags in the tests

2 years agoIncrease the wait delay for the diags in the tests
Yegappan Lakshmanan [Sat, 25 Mar 2023 18:47:35 +0000 (11:47 -0700)]
Increase the wait delay for the diags in the tests

2 years agoWhen jumping to a diag, display the diag message. When running the tests, wait for...
Yegappan Lakshmanan [Sat, 25 Mar 2023 18:34:22 +0000 (11:34 -0700)]
When jumping to a diag, display the diag message.  When running the tests, wait for the diags to reduce the delay in loading the files.

2 years agoFix test failure
Yegappan Lakshmanan [Fri, 24 Mar 2023 15:09:24 +0000 (08:09 -0700)]
Fix test failure

2 years agoDisplay the diag message when using the LspDiagHere command
Yegappan Lakshmanan [Fri, 24 Mar 2023 14:36:27 +0000 (07:36 -0700)]
Display the diag message when using the LspDiagHere command

2 years agoRename the LspDiagThis command to LspDiagHere
Yegappan Lakshmanan [Fri, 24 Mar 2023 14:27:06 +0000 (07:27 -0700)]
Rename the LspDiagThis command to LspDiagHere

2 years agoAdd a test for omni completion. Update the help text
Yegappan Lakshmanan [Fri, 24 Mar 2023 14:21:52 +0000 (07:21 -0700)]
Add a test for omni completion.  Update the help text

2 years agoMerge pull request #177 from Shane-XB-Qian/pr_162
Yegappan Lakshmanan [Fri, 24 Mar 2023 13:53:01 +0000 (06:53 -0700)]
Merge pull request #177 from Shane-XB-Qian/pr_162

feature: adding 'LspDiagThis'

2 years agoMerge pull request #181 from andlrc/fix-examples-in-documentation
Yegappan Lakshmanan [Fri, 24 Mar 2023 02:49:00 +0000 (19:49 -0700)]
Merge pull request #181 from andlrc/fix-examples-in-documentation

Fix examples in README.md

2 years agonone: adding 'LspDiagThis' test for ts
shane.xb.qian [Fri, 24 Mar 2023 01:26:53 +0000 (09:26 +0800)]
none: adding 'LspDiagThis' test for ts

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agofeature: adding 'LspDiagThis'
shane.xb.qian [Mon, 20 Mar 2023 04:58:28 +0000 (12:58 +0800)]
feature: adding 'LspDiagThis'

// jump to the diag msg in this/current line
// start from current column of current line

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agoFix examples in README.md
Andreas Louv [Thu, 23 Mar 2023 20:06:27 +0000 (21:06 +0100)]
Fix examples in README.md

2 years agoMerge pull request #179 from andlrc/make-it-possible-to-silence-the-default-rpc-error...
Yegappan Lakshmanan [Thu, 23 Mar 2023 15:19:40 +0000 (08:19 -0700)]
Merge pull request #179 from andlrc/make-it-possible-to-silence-the-default-rpc-error-message

Disable default rpc error handler for GotoSymbolLoc

2 years agoDisable default rpc error handler for GotoSymbolLoc
Andreas Louv [Thu, 23 Mar 2023 14:28:22 +0000 (15:28 +0100)]
Disable default rpc error handler for GotoSymbolLoc

2 years agoDisable the failing screen dump test
Yegappan Lakshmanan [Thu, 23 Mar 2023 14:24:45 +0000 (07:24 -0700)]
Disable the failing screen dump test

2 years agoMerge pull request #178 from andlrc/enable-fuzzy-matching-omni-completion
Yegappan Lakshmanan [Thu, 23 Mar 2023 14:22:35 +0000 (07:22 -0700)]
Merge pull request #178 from andlrc/enable-fuzzy-matching-omni-completion

Add "completionMatcher" which can be set to "icase", "case" or "fuzzy"

2 years agoAdd "completionMatcher" which can be set to "icase", "case" or "fuzzy"
Andreas Louv [Thu, 23 Mar 2023 06:28:00 +0000 (07:28 +0100)]
Add "completionMatcher" which can be set to "icase", "case" or "fuzzy"

This only works for language servers which always sends the whole set of
completion items to the client.

2 years agoAdd the screen dump files and enable the tsserver auto-completion test
Yegappan Lakshmanan [Thu, 23 Mar 2023 05:18:59 +0000 (22:18 -0700)]
Add the screen dump files and enable the tsserver auto-completion test

2 years agoMerge pull request #167 from Shane-XB-Qian/pr_omnifunc_filter_icase
Yegappan Lakshmanan [Thu, 23 Mar 2023 05:14:27 +0000 (22:14 -0700)]
Merge pull request #167 from Shane-XB-Qian/pr_omnifunc_filter_icase

fix: omnifunc broken

2 years agoMerge pull request #176 from Shane-XB-Qian/pr_safeguard_prefix
Yegappan Lakshmanan [Wed, 22 Mar 2023 17:54:28 +0000 (10:54 -0700)]
Merge pull request #176 from Shane-XB-Qian/pr_safeguard_prefix

fix: starttext maybe incorrect

2 years agoDisable the failing screen dump test
Yegappan Lakshmanan [Wed, 22 Mar 2023 14:23:22 +0000 (07:23 -0700)]
Disable the failing screen dump test

2 years agofix: compare label with exact case
shane.xb.qian [Mon, 20 Mar 2023 22:39:24 +0000 (06:39 +0800)]
fix: compare label with exact case

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2 years agofix: adding icase=1
shane.xb.qian [Mon, 20 Mar 2023 06:45:30 +0000 (14:45 +0800)]
fix: adding icase=1

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>