summaryrefslogtreecommitdiff
path: root/test/lsp
AgeCommit message (Collapse)Author
2019-01-26Add additional ways to detect LSP project rootbrian m. carlson
Currently, we detect the linter root based on a variety of techniques. However, these techniques are not foolproof. For example, clangd works fine for many things without a compile_commands.json file, and Go projects may be built outside of the GOPATH to take advantage of Go 1.11's automatic module support. Add global and buffer-specific variables to allow the user to specify the root, either as a string or a funcref. Make the funcrefs accept the buffer number as an argument to make sure that they can function easily in an asynchronous environment. We define the global variable in the main plugin, since the LSP linter code is not loaded unless required, and we want the variable to be able to be read correctly by :ALEInfo regardless.
2019-01-26test/lsp: ensure linter name is setbrian m. carlson
All linters should have a name variable set in their dictionary, and code should be able to rely on that. Fix this test such that its example linter contains a name entry.
2019-01-21Add textDocument/typeDefinition for LSP (#2226)Andrey Popp
* Add textDocument/typeDefinition for LSP Doc to spec https://microsoft.github.io/language-server-protocol/specification#textDocument_typeDefinition This works like textDocument/definition but resolves a location of a type of an expression under the cursor. I'm not sure what to do with tsserver though. * Fix passing column to LSP * test_go_to_definition: wording * Add tests for textDocument/typeDefinition * Add docs for textDocument/typeDefinition
2019-01-21Merge pull request #2224 from andreypopp/andreypopp/lsp-hover-fix-columnw0rp
Adjust column to be 0-based for LSP messages
2019-01-21Update testsAndrey Popp
2019-01-21Update testsAndrey Popp
2018-11-29Merge branch 'master' into sridharsBjorn Neergaard
2018-11-29Add test for detail in lsp ReadDiagnosticsBjorn Neergaard
2018-10-31Merge pull request #2035 from jparise/lsp_config_callbackw0rp
Add a `lsp_config_callback` linter option
2018-10-31Implement LSP symbol searchw0rp
2018-10-31Only send LSP config updates when the dict changesJon Parise
Each LSP connection now stores its configuration dictionary. It is initially empty (`{}`) and is updated each time the LSP connection is started. When a change is detected, the workspace/didChangeConfiguration message is sent to the LSP servers with the updated configuration.
2018-10-22LSP configuration via didChangeConfiguration (#1852)Daniel Welch
* adding LSP configuration via workspace/didChangeConfiguration
2018-08-24Use one LSP connection per projectw0rp
2018-08-20Merge pull request #1815 from fredemmott/lsp-related-informationw0rp
If present, use new-ish LSP 'relatedInformation' field for :ALEDetail
2018-08-16Fix #1816 - Fix a type error in the initialize message handlerw0rp
2018-08-15Correct related information line numbers from 0-based to 1-basedFred Emmott
2018-08-15Test file was the wrong way aroundFred Emmott
2018-08-15Better formattingFred Emmott
2018-08-15Use new-ish LSP 'relatedInformation' field for :ALEDetailFred Emmott
2018-08-02Add test for LSP code of -1Fred Emmott
2018-08-02Handle LSP codes for `%code%` in message formatsFred Emmott
fixes #1767
2018-07-22Check LSP capabilities before using themw0rp
2018-07-19Capture server capabilities from LSP serversw0rp
2018-07-13Support strings in data field of error responsesMTDL9
2018-07-06Fix tests on Windowsw0rp
2018-07-06Fix tests on Windowsw0rp
2018-07-06Fix the broken testsw0rp
2018-07-05Fix command formatting for LSP lintersw0rp
2018-06-15Lazy-load LSP linters, and check b:changedtick before notifying about changesw0rp
2018-06-06Pass rootUri to LSPs in addition to rootPathBen Falconer
2018-06-06Allow initialization options to be passed to language serversBen Falconer
2018-05-28Close #1559 - Report errors from LSP servers in :ALEInfow0rp
2018-04-26Close #1428 Implement LSP hover-like functionality for tsserver toow0rp
2018-04-22#1428 Start implementing LSP hover supportw0rp
2018-04-22Add support for finding references using LSP servers or tsserverw0rp
2018-03-06Add a command for stopping all LSP clientsw0rp
2018-03-02Fix #1384 - Handle warnings and suggestions for tsserverw0rp
2018-01-19Fix the didSave tests so they work in NeoVim 0.1.7, and do not send the ↵w0rp
message for tsserver
2018-01-19Send didSave message to LSP-based linters (#1295)Rafael Lerm
* Also send didSave to LSP linters. * Add tests for messages sent to LSP linters.
2017-12-19Fix the mscs tests on Windows, and use the improved Simplify for all tests ↵v1.7.0w0rp
instead.
2017-11-26Implement go to defintion for LSP lintersw0rp
2017-11-26#1162 Get LSP completions working reasonably wellw0rp
2017-11-26#1162 Add unfinished experimental code for supporting LSP completion, clean ↵w0rp
up the tests, and make the completion cancelling better
2017-11-21Quietly add go to definition support for tsserverw0rp
2017-11-11Remove id from LSP notificationsMichael Jungo
2017-11-05Fix #1085 - Add a final newline character to tsserver and LSP messagesw0rp
2017-09-09Fix some path issues, and get lsp dir tests passing on Windowsw0rp
2017-09-04Fix #907 - Stop LSP integration breaking with empty string keys in NeoVimw0rp
2017-07-30Cover special LSP initialize response handling with Vader testsw0rp
2017-07-26#517 Add more code LSP support which makes the tssserver linter behave more ↵w0rp
like the LSP linters