summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorgodbless <26397224+sak96@users.noreply.github.com>2022-04-29 18:47:29 +0530
committerGitHub <noreply@github.com>2022-04-29 22:17:29 +0900
commit3348222abccb8ed9555cafe6983cf04754340362 (patch)
tree4ba91b299e26e9d0bc96b6b568d0523ab5832994 /test
parent6c51bb1573f0bf5deff04508769208fd503b5ff7 (diff)
downloadale-3348222abccb8ed9555cafe6983cf04754340362.zip
Add CodeAction codeActionLiteralSupport Feature (#4163)
* Advertise codeActionLiteralSupport to LSP server Without this, rust-analyzer doesn't return any code actions. With it, everything works properly. * linter fixes * test cases fixes * Fix underflow of column in position. Special values like for example -1 to denote the end of a line are not supported. [reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#position) Co-authored-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Diffstat (limited to 'test')
-rw-r--r--test/lsp/test_lsp_startup.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lsp/test_lsp_startup.vader b/test/lsp/test_lsp_startup.vader
index 21c61e13..1f169266 100644
--- a/test/lsp/test_lsp_startup.vader
+++ b/test/lsp/test_lsp_startup.vader
@@ -194,6 +194,11 @@ Before:
\ },
\ 'codeAction': {
\ 'dynamicRegistration': v:false,
+ \ 'codeActionLiteralSupport': {
+ \ 'codeActionKind': {
+ \ 'valueSet': []
+ \ }
+ \ }
\ },
\ 'rename': {
\ 'dynamicRegistration': v:false,