summaryrefslogtreecommitdiff
path: root/test/lsp
AgeCommit message (Collapse)Author
2019-04-07Close #2132 - Add deprecation warnings for old featuresw0rp
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2019-04-02#2397 - didChangeConfiguration should be a notificationw0rp
2019-02-27#2132 - Support deferred execution for LSP executables, commands, and addressesw0rp
2019-02-22#2132 - Replace all uses of foo_callback with foow0rp
2019-02-15#2295 Send an empty object for the initialized notification, per the specw0rp
2019-02-15Fix #2295 - Respond to initialize with an initialized messagew0rp
2019-02-13#2132 Use an on-init callback for all LSP logicw0rp
2019-02-06#2132 - lint and fix with ale#command#Runw0rp
A new function is added here which will later be modified for public use in linter and fixer callbacks. All linting and fixing now goes through this new function, to prove that it works in all cases.
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