| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | fix crash in error reporting | Florian Fischer | 2021-11-21 | 1 | -1/+3 | |
| | | | | | We crashed because a forgotten concatenation operator | |||||
| * | do not use lspc.log before lspc is initialized | Florian Fischer | 2021-08-29 | 1 | -60/+57 | |
| | | ||||||
| * | bump version to 0.1.3v0.1.3 | Florian Fischer | 2021-08-16 | 1 | -1/+1 | |
| | | ||||||
| * | move and fix parser code | Florian Fischer | 2021-08-16 | 1 | -48/+16 | |
| | | | | | | | | Move LSP message parser code into parser.lua. Fix parsing when message headers are split between to data junks. Simplify parser code using one string buffer and consuming already parsed message parts. | |||||
| * | write errors and warnings to the log | Florian Fischer | 2021-08-16 | 1 | -5/+10 | |
| | | ||||||
| * | extract bindings into a seperate source file | Florian Fischer | 2021-08-02 | 1 | -62/+3 | |
| | | ||||||
| * | implement signatureHelp | Florian Fischer | 2021-07-19 | 1 | -1/+47 | |
| | | ||||||
| * | open and close files with changes if necessary | Florian Fischer | 2021-07-14 | 1 | -8/+20 | |
| | | ||||||
| * | apply WorkspaceEdit changes in all open windows | Florian Fischer | 2021-07-14 | 1 | -8/+13 | |
| | | ||||||
| * | implement textDocument/rename | Florian Fischer | 2021-07-13 | 1 | -0/+120 | |
| | | | | | | | | Currently only changes in the current window are applied. TODO: * apply changes in opened files by iteration all vis windows * apply changes in all files using sed or something | |||||
| * | add hover support | Florian Fischer | 2021-07-12 | 1 | -2/+52 | |
| | | ||||||
| * | Automatically open current file when showing diagnosticsv0.1.2 | Florian Fischer | 2021-07-09 | 1 | -3/+4 | |
| | | | | | This is more consistent with the other lspc functions. | |||||
| * | Show warning instead of empty diagnostics message | Florian Fischer | 2021-07-09 | 1 | -1/+5 | |
| | | ||||||
| * | fix LSP message parsing | Florian Fischer | 2021-07-09 | 1 | -3/+3 | |
| | | | | | | Don't always reset the state even if we updated it explicitly with the leftover from a complete message. | |||||
| * | add default keybindings from nvim | Florian Fischer | 2021-07-09 | 1 | -6/+33 | |
| | | ||||||
| * | run lua-format | Florian Fischer | 2021-07-09 | 1 | -2/+2 | |
| | | ||||||
| * | add experimental diagnostic support | Florian Fischer | 2021-04-02 | 1 | -1/+125 | |
| | | | | | | | | * Diagnostics highlighting can be enabled with the vis option 'lspc-highlight-diagnostics' or by setting highlight_diagnostics to true in the lspc table. * The new vis command lspc-show-diagnostics is added which shows all diagnostics for the current line | |||||
| * | don't pass unused arguments | Florian Fischer | 2021-04-02 | 1 | -5/+5 | |
| | | | | | found by lua-language-server's diagnostics | |||||
| * | improve our location related functions and their documentation | Florian Fischer | 2021-04-02 | 1 | -16/+59 | |
| | | ||||||
| * | use completionItem.label as default insertText as specified by LSP | Florian Fischer | 2021-03-21 | 1 | -2/+2 | |
| | | | | | | | https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_completion states that if no insertText is present the label should be interpreted as inertText. | |||||
| * | check if a language server is available when opening a new file | Florian Fischer | 2021-03-20 | 1 | -0/+3 | |
| | | ||||||
| * | lspc_get_usable_ls return error if no syntax is provided | Florian Fischer | 2021-03-20 | 1 | -0/+4 | |
| | | ||||||
| * | support goto method responses being LocationLink | Florian Fischer | 2021-03-20 | 1 | -12/+31 | |
| | | ||||||
| * | add capabilities parameter to initialize method call | Florian Fischer | 2021-03-20 | 1 | -1/+6 | |
| | | ||||||
| * | responde to method calls with MethodNotFound Error | Florian Fischer | 2021-03-20 | 1 | -1/+26 | |
| | | ||||||
| * | Do not crash when the server issues a method call and add a empty handler | Florian Fischer | 2021-03-08 | 1 | -4/+17 | |
| | | ||||||
| * | introduce a fallback to get our pid if /proc/self/stat is not available | Florian Fischer | 2021-03-08 | 1 | -3/+19 | |
| | | | | | | Obviously not all vis users are running Linux therefore vis-lspc uses sh -c "echo $PPID" as fallback if /proc/self/stat is not available. | |||||
| * | suppress luacheck upshadowing warnings for the event handler code | Florian Fischer | 2021-03-08 | 1 | -5/+7 | |
| | | ||||||
| * | fix insertText completion when issued with the cursor on a newline | Florian Fischer | 2021-03-06 | 1 | -14/+36 | |
| | | | | | | | | | | | | New algorithm: 1. check if the cursor is on a word which is a prefix of the completion 2. if not try to decrement the position because it is common than the cursor is behind the token to complete "fooba┃" 3. if found a match in 1. or 2. delete it 4. insert the new text at the current pos or the start of the deleted token Hopefully this is good enough to work in all possible corner cases | |||||
| * | add python language server configuration | Florian Fischer | 2021-03-04 | 1 | -1/+4 | |
| | | ||||||
| * | add check if the configured language sever is installed | Florian Fischer | 2021-03-04 | 1 | -0/+14 | |
| | | ||||||
| * | support completions only providing insertText | Florian Fischer | 2021-03-04 | 1 | -4/+46 | |
| | | ||||||
| * | introduce err and warn helper functions | Florian Fischer | 2021-03-04 | 1 | -24/+30 | |
| | | ||||||
| * | [lspc] check if syntax is nil when trying to start a language server | Florian Fischer | 2021-02-17 | 1 | -2/+7 | |
| | | ||||||
| * | [lspc] imprve mapping between languages and language serversv0.1.1 | Florian Fischer | 2021-02-17 | 1 | -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 server | Florian Fischer | 2021-02-17 | 1 | -0/+4 | |
| | | ||||||
| * | [lspc] register file with language server when navigating to doc_pos | Florian Fischer | 2021-02-17 | 1 | -0/+1 | |
| | | ||||||
| * | [lspc] always append a new line after a log message | Florian Fischer | 2021-02-17 | 1 | -6/+7 | |
| | | ||||||
| * | release version 0.1.0v0.1.0 | Florian Fischer | 2021-02-16 | 1 | -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 improvements | Florian Fischer | 2021-02-16 | 1 | -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 events | Florian Fischer | 2021-02-16 | 1 | -3/+17 | |
| | | ||||||
| * | [lspc] make log file configurable | Florian Fischer | 2021-02-16 | 1 | -1/+3 | |
| | | ||||||
| * | [lspc] send textDocument/didChange notification before any textDocument/<method> | Florian Fischer | 2021-02-15 | 1 | -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 commit | Florian Fischer | 2021-02-14 | 1 | -0/+645 | |
