]> Sergey Matveev's repositories - vim-lsp.git/log
vim-lsp.git
23 months agoError message about a language server not supporting a particular feature is not...
Yegappan Lakshmanan [Sat, 27 May 2023 17:08:02 +0000 (10:08 -0700)]
Error message about a language server not supporting a particular feature is not correct

23 months agoMerge pull request #326 from andlrc/conditional-prop-override
Yegappan Lakshmanan [Thu, 25 May 2023 15:16:38 +0000 (08:16 -0700)]
Merge pull request #326 from andlrc/conditional-prop-override

Conditionally override cursor for props when "&cursorline" is set

23 months agoConditionally override cursor for props when "&cursorline" is set
Andreas Louv [Thu, 25 May 2023 14:09:00 +0000 (16:09 +0200)]
Conditionally override cursor for props when "&cursorline" is set

23 months agoMerge pull request #302 from newtonne/focus-fix
Yegappan Lakshmanan [Wed, 24 May 2023 14:27:21 +0000 (07:27 -0700)]
Merge pull request #302 from newtonne/focus-fix

Add `keepFocusInDiags` option

23 months agoMerge pull request #325 from andlrc/refactor/golsp-test
Yegappan Lakshmanan [Wed, 24 May 2023 14:20:46 +0000 (07:20 -0700)]
Merge pull request #325 from andlrc/refactor/golsp-test

Save bufnr() in a variable instead of inlining it

23 months agoSave bufnr() in a variable instead of inlining it
Andreas Louv [Wed, 24 May 2023 14:16:37 +0000 (16:16 +0200)]
Save bufnr() in a variable instead of inlining it

23 months agoMerge branch 'main' into focus-fix
Yegappan Lakshmanan [Wed, 24 May 2023 03:22:21 +0000 (20:22 -0700)]
Merge branch 'main' into focus-fix

23 months agoMerge pull request #301 from newtonne/loclist-fix
Yegappan Lakshmanan [Wed, 24 May 2023 03:19:13 +0000 (20:19 -0700)]
Merge pull request #301 from newtonne/loclist-fix

Always switch to correct loclist after running `:LspShowDiags`

23 months agoupdate comment
newtonne [Tue, 23 May 2023 20:32:57 +0000 (21:32 +0100)]
update comment

23 months agomove code to ShowAllDiags
newtonne [Tue, 23 May 2023 20:30:33 +0000 (21:30 +0100)]
move code to ShowAllDiags

23 months agoMerge branch 'main' into loclist-fix
newtonne [Tue, 23 May 2023 20:28:42 +0000 (21:28 +0100)]
Merge branch 'main' into loclist-fix

23 months agodefault to true and update tests
newtonne [Tue, 23 May 2023 20:21:56 +0000 (21:21 +0100)]
default to true and update tests

23 months agoMerge branch 'main' into focus-fix
newtonne [Tue, 23 May 2023 19:29:19 +0000 (20:29 +0100)]
Merge branch 'main' into focus-fix

23 months agoIgnore the '$/analyzerStatus' notification message from the dart language server
Yegappan Lakshmanan [Tue, 23 May 2023 14:30:54 +0000 (07:30 -0700)]
Ignore the '$/analyzerStatus' notification message from the dart language server

23 months agoMerge pull request #321 from andlrc/add-priority-to-props
Yegappan Lakshmanan [Tue, 23 May 2023 14:19:27 +0000 (07:19 -0700)]
Merge pull request #321 from andlrc/add-priority-to-props

Add priority to props

23 months agoAdd priority to inline diagnostics
Andreas Louv [Tue, 23 May 2023 05:34:30 +0000 (07:34 +0200)]
Add priority to inline diagnostics

This will render an error sign above warning, info and hint signs.

23 months agoAdd priority to signs
Andreas Louv [Tue, 23 May 2023 05:33:39 +0000 (07:33 +0200)]
Add priority to signs

This will render an error sign above warning, info and hint signs.

23 months agoGet the resolveProvider capability only if completionProvider is present
Yegappan Lakshmanan [Tue, 23 May 2023 01:13:10 +0000 (18:13 -0700)]
Get the resolveProvider capability only if completionProvider is present

23 months agoMerge pull request #320 from andlrc/omni-compl-and-lazy-docs
Yegappan Lakshmanan [Tue, 23 May 2023 00:55:25 +0000 (17:55 -0700)]
Merge pull request #320 from andlrc/omni-compl-and-lazy-docs

Add support for lazy documentation and omni completion

23 months agoRespect when "&completeopt" doesn't contain "preview"
Andreas Louv [Mon, 22 May 2023 20:57:03 +0000 (22:57 +0200)]
Respect when "&completeopt" doesn't contain "preview"

23 months agoAdd support for lazy documentation and omni completion
Andreas Louv [Mon, 22 May 2023 20:30:39 +0000 (22:30 +0200)]
Add support for lazy documentation and omni completion

23 months agoMerge pull request #306 from andlrc/custom-ref-highlight
Yegappan Lakshmanan [Mon, 22 May 2023 21:01:06 +0000 (14:01 -0700)]
Merge pull request #306 from andlrc/custom-ref-highlight

Custom ref highlight

23 months agoDon't override visual selection, hlsearch etc, when highlighting refs
Andreas Louv [Tue, 16 May 2023 07:46:03 +0000 (09:46 +0200)]
Don't override visual selection, hlsearch etc, when highlighting refs

23 months agoMake it possible to define custom ref highlights
Andreas Louv [Tue, 16 May 2023 07:45:44 +0000 (09:45 +0200)]
Make it possible to define custom ref highlights

23 months agoMerge pull request #318 from andlrc/process-diags
Yegappan Lakshmanan [Sun, 21 May 2023 19:38:36 +0000 (12:38 -0700)]
Merge pull request #318 from andlrc/process-diags

Process diags

23 months agoMerge branch 'main' into process-diags
Yegappan Lakshmanan [Sun, 21 May 2023 19:35:28 +0000 (12:35 -0700)]
Merge branch 'main' into process-diags

23 months agoUpdate comment to mention the list of unhandled server requests
Yegappan Lakshmanan [Sun, 21 May 2023 19:23:31 +0000 (12:23 -0700)]
Update comment to mention the list of unhandled server requests

23 months agoMerge pull request #310 from andlrc/customrequesthandlers
Yegappan Lakshmanan [Sun, 21 May 2023 19:04:20 +0000 (12:04 -0700)]
Merge pull request #310 from andlrc/customrequesthandlers

Add support for custom request handlers

23 months agoMerge branch 'main' into customrequesthandlers
Yegappan Lakshmanan [Sun, 21 May 2023 18:59:32 +0000 (11:59 -0700)]
Merge branch 'main' into customrequesthandlers

23 months agoMerge pull request #309 from girishji/ignore_jdtls_request
Yegappan Lakshmanan [Sun, 21 May 2023 18:28:22 +0000 (11:28 -0700)]
Merge pull request #309 from girishji/ignore_jdtls_request

Ignore non-standard request from eclipse java LS

23 months agoMerge pull request #312 from guildem/feature/readme
Yegappan Lakshmanan [Sun, 21 May 2023 17:42:34 +0000 (10:42 -0700)]
Merge pull request #312 from guildem/feature/readme

Updated documentation with options example and reordering

23 months agoMove the license in the help text to the end
Yegappan Lakshmanan [Sun, 21 May 2023 14:58:57 +0000 (07:58 -0700)]
Move the license in the help text to the end

23 months agoMerge pull request #316 from ubaldot/docs_examples_to_vim9
Yegappan Lakshmanan [Sun, 21 May 2023 14:53:39 +0000 (07:53 -0700)]
Merge pull request #316 from ubaldot/docs_examples_to_vim9

Examples to vim9, added index and some ascii artwork in docs

23 months agoMerge pull request #303 from newtonne/fix-link
Yegappan Lakshmanan [Sun, 21 May 2023 05:06:21 +0000 (22:06 -0700)]
Merge pull request #303 from newtonne/fix-link

Link to unit test results from README rather than image

23 months agoMerge pull request #314 from techntools/fix/return-after-throw
Yegappan Lakshmanan [Sun, 21 May 2023 05:05:16 +0000 (22:05 -0700)]
Merge pull request #314 from techntools/fix/return-after-throw

Remove return after throw

23 months agoAdd test for "processDiagHandler"
Andreas Louv [Sat, 20 May 2023 19:44:46 +0000 (21:44 +0200)]
Add test for "processDiagHandler"

23 months agoAdd example for how to prefix diagnostics messages
Andreas Louv [Sat, 20 May 2023 19:39:39 +0000 (21:39 +0200)]
Add example for how to prefix diagnostics messages

23 months agoAdd example for how to filter diagnostics
Andreas Louv [Sat, 20 May 2023 19:39:29 +0000 (21:39 +0200)]
Add example for how to filter diagnostics

23 months agoAdd error checking for the config "processDiagHandler"
Andreas Louv [Sat, 20 May 2023 19:38:47 +0000 (21:38 +0200)]
Add error checking for the config "processDiagHandler"

23 months agoAdd the server config "processDiagHandler"
Andreas Louv [Sat, 20 May 2023 19:38:34 +0000 (21:38 +0200)]
Add the server config "processDiagHandler"

23 months agoIntegrated feedbacks 1-5
Ubaldo Tiberi [Sat, 20 May 2023 19:24:20 +0000 (21:24 +0200)]
Integrated feedbacks 1-5

23 months agoRemoved call for function calls
Ubaldo Tiberi [Sat, 20 May 2023 18:52:19 +0000 (20:52 +0200)]
Removed call for function calls

23 months agoremoved quotes in dicts key and backslashes for new lines
Ubaldo Tiberi [Sat, 20 May 2023 18:44:31 +0000 (20:44 +0200)]
removed quotes in dicts key and backslashes for new lines

23 months agoExamples to vim9, added index and some ascii artwork in docs
Ubaldo Tiberi [Fri, 19 May 2023 16:23:12 +0000 (18:23 +0200)]
Examples to vim9, added index and some ascii artwork in docs

23 months agoRemove return after throw
Santosh Bandichode [Thu, 18 May 2023 19:19:30 +0000 (00:49 +0530)]
Remove return after throw

23 months agoReorder options by alphabetical order
Guillaume Démurgé [Thu, 18 May 2023 13:16:08 +0000 (15:16 +0200)]
Reorder options by alphabetical order

23 months agoAdd a global example of the features configuration into README
Guillaume Démurgé [Thu, 18 May 2023 13:09:18 +0000 (15:09 +0200)]
Add a global example of the features configuration into README

23 months agoAdd support for custom request handlers
Andreas Louv [Thu, 4 May 2023 21:23:16 +0000 (23:23 +0200)]
Add support for custom request handlers

23 months agoIgnore non-standard request from eclipse java LS
Girish Palya [Wed, 17 May 2023 15:38:56 +0000 (17:38 +0200)]
Ignore non-standard request from eclipse java LS

Eclipse java language server sends the 'workspace/executeClientCommand'
request (to reload bundles) which is not in the LSP specification.
Ignore this request and suppress the error message.

Fixed typos in lspserver.vim

M  autoload/lsp/handlers.vim
M  autoload/lsp/lspserver.vim

23 months agoDefault keepFocusInDiags to false
newtonne [Sun, 14 May 2023 16:02:41 +0000 (17:02 +0100)]
Default keepFocusInDiags to false

23 months agomake more explicit
newtonne [Sun, 14 May 2023 15:53:13 +0000 (16:53 +0100)]
make more explicit

23 months agoadd tests
newtonne [Sun, 14 May 2023 14:59:35 +0000 (15:59 +0100)]
add tests

23 months agoLink to unit test results from README rather than image
newtonne [Sun, 14 May 2023 13:06:32 +0000 (14:06 +0100)]
Link to unit test results from README rather than image

23 months agoAdd `keepFocusInDiags` option
newtonne [Sun, 14 May 2023 12:51:19 +0000 (13:51 +0100)]
Add `keepFocusInDiags` option

This option serves a similar purpose to `keepFocusInReferences` but for
`LspDiagShow` rather than `LspShowReferences`. No changes to default
behaviour since it defaults to true.

23 months agoAlways switch to correct loclist after running `:LspShowDiags`
newtonne [Sun, 14 May 2023 12:38:55 +0000 (13:38 +0100)]
Always switch to correct loclist after running `:LspShowDiags`

Fixes #300

23 months agoMerge pull request #298 from inetic/cygpath
Yegappan Lakshmanan [Sun, 14 May 2023 03:12:03 +0000 (20:12 -0700)]
Merge pull request #298 from inetic/cygpath

Simplify cygwin path conversions

23 months agoUpdate comment
Peter Jankuliak [Sat, 13 May 2023 15:47:09 +0000 (16:47 +0100)]
Update comment

23 months agoSimplify cygwin path conversions
Peter Jankuliak [Thu, 11 May 2023 19:52:15 +0000 (20:52 +0100)]
Simplify cygwin path conversions

23 months agoUpdate the README file with a link to the omnisharp LSP client plugin.
Yegappan Lakshmanan [Tue, 9 May 2023 14:20:15 +0000 (07:20 -0700)]
Update the README file with a link to the omnisharp LSP client plugin.

23 months agoMerge pull request #297 from inetic/cygwin-file-to-uri
Yegappan Lakshmanan [Tue, 9 May 2023 14:07:56 +0000 (07:07 -0700)]
Merge pull request #297 from inetic/cygwin-file-to-uri

Adapt LspFileTorUri for Cygwin

23 months agoStyle changes
Peter Jankuliak [Tue, 9 May 2023 06:37:35 +0000 (07:37 +0100)]
Style changes

23 months agoAdapt LspFileTorUri for Cygwin
Peter Jankuliak [Mon, 8 May 2023 19:40:03 +0000 (20:40 +0100)]
Adapt LspFileTorUri for Cygwin

Convert paths of the form "/cygdrive/c/foo/bar" to "c:/foo/bar" and paths of
the form "/home/pete/foo" to "C:/cygwin64/home/pete/foo"

2 years agoMerge pull request #293 from berggeist/add-headline-to-language-server-messages
Yegappan Lakshmanan [Mon, 1 May 2023 14:12:15 +0000 (07:12 -0700)]
Merge pull request #293 from berggeist/add-headline-to-language-server-messages

Add headline to language server message

2 years agoAdd headline to language server message
berggeist [Mon, 1 May 2023 09:27:39 +0000 (11:27 +0200)]
Add headline to language server message

2 years agoMerge pull request #289 from andlrc/remove-if-around-prop-decl
Yegappan Lakshmanan [Thu, 27 Apr 2023 14:29:47 +0000 (07:29 -0700)]
Merge pull request #289 from andlrc/remove-if-around-prop-decl

Remove option checks around prop_ declarations

2 years agoMerge pull request #290 from andlrc/always-send-initOpts
Yegappan Lakshmanan [Thu, 27 Apr 2023 13:55:13 +0000 (06:55 -0700)]
Merge pull request #290 from andlrc/always-send-initOpts

Always send "initializationOptions"

2 years agoAlways send "initializationOptions"
Andreas Louv [Thu, 27 Apr 2023 08:12:36 +0000 (10:12 +0200)]
Always send "initializationOptions"

Some servers expects the object to be there. One being
https://github.com/vuejs/language-tools

2 years agoRemove option checks around prop_ declarations
Andreas Louv [Thu, 27 Apr 2023 06:43:00 +0000 (08:43 +0200)]
Remove option checks around prop_ declarations

There is no reason not supporting enabling these options about
initialization instead.

2 years agoMerge pull request #284 from greeschenko/main
Yegappan Lakshmanan [Sun, 23 Apr 2023 16:35:46 +0000 (09:35 -0700)]
Merge pull request #284 from greeschenko/main

add words from current buffer to completion list

2 years agofix if
Oleksiy Hryshchenko [Sun, 23 Apr 2023 16:17:15 +0000 (19:17 +0300)]
fix if

2 years agoSave the server textDocumentSync capability
Yegappan Lakshmanan [Sun, 23 Apr 2023 15:36:44 +0000 (08:36 -0700)]
Save the server textDocumentSync capability

2 years agoadded requested changes
Oleksiy Hryshchenko [Sun, 23 Apr 2023 14:06:03 +0000 (17:06 +0300)]
added requested changes

2 years agoUpdate README.md
Yegappan Lakshmanan [Sat, 22 Apr 2023 06:10:27 +0000 (23:10 -0700)]
Update README.md

2 years agoUpdate the readme file
Yegappan Lakshmanan [Sat, 22 Apr 2023 06:09:24 +0000 (23:09 -0700)]
Update the readme file

2 years agoAdding inlay hints results in error if the text is modified
Yegappan Lakshmanan [Sat, 22 Apr 2023 03:56:41 +0000 (20:56 -0700)]
Adding inlay hints results in error if the text is modified

2 years agoadd useBufferCompletion option
Oleksiy Hryshchenko [Fri, 21 Apr 2023 20:29:02 +0000 (23:29 +0300)]
add useBufferCompletion option

2 years agoadd words from current buffer to completion list
Oleksiy Hryshchenko [Fri, 21 Apr 2023 19:30:52 +0000 (22:30 +0300)]
add words from current buffer to completion list

2 years agoMerge pull request #283 from berggeist/cleanup-diagnostics-code-duplicates
Yegappan Lakshmanan [Fri, 21 Apr 2023 19:23:49 +0000 (12:23 -0700)]
Merge pull request #283 from berggeist/cleanup-diagnostics-code-duplicates

Cleanup of code duplications for diagnostics.

2 years agoCleanup of code duplications for diagnostics.
berggeist [Fri, 21 Apr 2023 18:45:16 +0000 (20:45 +0200)]
Cleanup of code duplications for diagnostics.

2 years agoUse filterText to filter the completion matches. Move the Ultisnips code to a separa...
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

2 years agoIn Vim9 scripts, 'ignorecase' is not used for comparison operators
Yegappan Lakshmanan [Fri, 21 Apr 2023 05:05:30 +0000 (22:05 -0700)]
In Vim9 scripts, 'ignorecase' is not used for comparison operators

2 years agoMerge pull request #282 from lithammer/sort-by-sortText
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`

2 years agoSort 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

2 years agoMerge pull request #280 from andlrc/stop-error-when-omni-compl-timeout
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

2 years agoMerge pull request #279 from andlrc/ignore-hl-invalid-lnum-and-col
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

2 years agoReturn empty completion set in case omni-completion times-out
Andreas Louv [Tue, 18 Apr 2023 19:51:22 +0000 (21:51 +0200)]
Return empty completion set in case omni-completion times-out

2 years agoPrevent raising errors when highlight arrive for deleted lines
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.

2 years agoMerge pull request #278 from kalmiz/fix-diagshighlightenable
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

2 years agoRemove extra `endif` from DiagsHighlightEnable
Zoltan Kalmar [Tue, 18 Apr 2023 08:25:04 +0000 (10:25 +0200)]
Remove extra `endif` from DiagsHighlightEnable

2 years agoUse case sensitive comparison for command names and option values
Yegappan Lakshmanan [Mon, 17 Apr 2023 14:10:49 +0000 (07:10 -0700)]
Use case sensitive comparison for command names and option values

2 years agoMerge pull request #273 from berggeist/add-align-option-for-diag-virtual-text
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

2 years agoAdd tests for :LspServer command error cases.
Yegappan Lakshmanan [Sun, 16 Apr 2023 23:43:50 +0000 (16:43 -0700)]
Add tests for :LspServer command error cases.

2 years agoMerge pull request #277 from andlrc/feat/add-count-to-LspGoto-and-LspPeek
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

2 years agoAdd example of count in the docs
Andreas Louv [Sun, 16 Apr 2023 22:09:03 +0000 (00:09 +0200)]
Add example of count in the docs

2 years agoAdd test
Andreas Louv [Sun, 16 Apr 2023 21:54:04 +0000 (23:54 +0200)]
Add test

2 years agoAdd count to Lsp{Goto,Peek}-commands
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.

2 years agoChange domain to feature
Yegappan Lakshmanan [Sun, 16 Apr 2023 21:50:29 +0000 (14:50 -0700)]
Change domain to feature

2 years agoChange assert_match() to assert_equal()
Yegappan Lakshmanan [Sun, 16 Apr 2023 21:44:46 +0000 (14:44 -0700)]
Change assert_match() to assert_equal()

2 years agoMerge pull request #263 from Shane-XB-Qian/feat_util_msg_fmt
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

2 years agoMerge pull request #276 from andlrc/feat/add-count-to-lspoutline
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