aboutsummaryrefslogtreecommitdiff
path: root/init.lua
Commit message (Collapse)AuthorAgeFilesLines
* [lspc] check if syntax is nil when trying to start a language serverFlorian Fischer2021-02-171-2/+7
|
* [lspc] imprve mapping between languages and language serversv0.1.1Florian Fischer2021-02-171-9/+33
| | | | | | | | | Previously we managed running language servers by language but this is not practical since one language server can serve multiple languages. Clangd for example can deal with cpp and c code which frequently are used together in the same code base. Therefore we now manage running language servers by name and map syntax to language server names and to LSP languageIds as well.
* [lspc] print verbose message when receiving unexpected message from serverFlorian Fischer2021-02-171-0/+4
|
* [lspc] register file with language server when navigating to doc_posFlorian Fischer2021-02-171-0/+1
|
* [lspc] always append a new line after a log messageFlorian Fischer2021-02-171-6/+7
|
* release version 0.1.0v0.1.0Florian Fischer2021-02-161-1/+1
| | | | | | | | This is the first minor release of vis-lspc. It is now in a state that it satisfies all use cases I currently have for a LSP client implementation. This means I will not implement new features or change existing code as frequent as before.
* Support user choice and other improvementsFlorian Fischer2021-02-161-153/+251
| | | | | | | | | | | | * Add support for user choices by piping the available choices through lspc.menu_cmd which must be a dmenu|vis-menu|fzf like tool. * Mention all commands and options in the README * Add support for textDocument/references * Support opening new location in a horizonatl or vertical split * Internal refactoring * Group binding, vis command and event code * Return error messages and use vis:info only in vis commands * Fix a bug on unexpected server termination
* [lspc] add option to autostart a language server on WIN_OPEN eventsFlorian Fischer2021-02-161-3/+17
|
* [lspc] make log file configurableFlorian Fischer2021-02-161-1/+3
|
* [lspc] send textDocument/didChange notification before any textDocument/<method>Florian Fischer2021-02-151-5/+25
| | | | | | | | | | | | | We currently have no good way of detecting changes in a file, therefore we send the whole file content in a textDocument/didChange notification each time we want something from the language server. Consequences from this design: * diagnostics are not up to date till the client calls a server method * The server may need longer for its answer when it it informed about changes immediately before the client requests its service * We pass unnecessary much data between server and client which may be unpractical for huge files
* initial commitFlorian Fischer2021-02-141-0/+645