| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bump version to 0.1.4v0.1.4 | Florian Fischer | 2021-12-13 | 1 | -1/+1 |
| | | |||||
| * | use capture_cmd where possible | Florian Fischer | 2021-12-13 | 1 | -7/+1 |
| | | |||||
| * | improve default logging | Florian Fischer | 2021-12-13 | 2 | -4/+46 |
| | | | | | | | | | | | | | I use to have logging enabled to be able to debug weird vis-lspc behavior right away. But I got annoyed by vis-lspc cluttering all my directories with vis-lspc.log files. So vis-lspc will no write its log files to $XDG_DATA_HOME/vis-lspc/<iso-date>-<cwd-basename>.log if lspc.log_file is not set by the user. This patch also introduces a helper to run a program and capture its output. | ||||
| * | Merge pull request #30 from fischerling/add-menu-options | fischerling | 2021-12-08 | 1 | -0/+10 |
| |\ | | | | | add menu-/ confirm-cmd options | ||||
| | * | add menu-/ confirm-cmd options | Florian Fischer | 2021-12-08 | 1 | -0/+10 |
| |/ | |||||
| * | rebind signatureHelp to <C-K> to prevent conflicts with vis bindings | Florian Fischer | 2021-12-06 | 1 | -1/+1 |
| | | |||||
| * | fix ff92a0f1fca0f0db5b00022fc2ac41579ac5ab24 | Florian Fischer | 2021-12-06 | 1 | -1/+1 |
| | | | | | Don't use a global variable. | ||||
| * | handle string or MarkContent documentation in SignatureInformation | Florian Fischer | 2021-12-06 | 1 | -2/+2 |
| | | |||||
| * | do not try to handle error responses | Florian Fischer | 2021-11-22 | 1 | -1/+3 |
| | | |||||
| * | 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 | 2 | -62/+57 |
| | | |||||
| * | bump version to 0.1.3v0.1.3 | Florian Fischer | 2021-08-16 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #17 from fischerling/parser | fischerling | 2021-08-16 | 5 | -52/+233 |
| |\ | | | | | Improve message parsing | ||||
| | * | add tests for the LSP message parser | Florian Fischer | 2021-08-16 | 3 | -4/+142 |
| | | | |||||
| | * | move and fix parser code | Florian Fischer | 2021-08-16 | 2 | -48/+91 |
| |/ | | | | | | | 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 | 3 | -65/+69 |
| | | |||||
| * | implement signatureHelp | Florian Fischer | 2021-07-19 | 1 | -1/+47 |
| | | |||||
| * | open and close files with changes if necessary | Florian Fischer | 2021-07-14 | 2 | -9/+21 |
| | | |||||
| * | apply WorkspaceEdit changes in all open windows | Florian Fischer | 2021-07-14 | 1 | -8/+13 |
| | | |||||
| * | update README | Florian Fischer | 2021-07-13 | 1 | -1/+19 |
| | | | | | add new bindings, commands and configuration options | ||||
| * | 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 | 2 | -2/+53 |
| | | |||||
| * | [README] mention that Diagnostics are somewhat supported | Florian Fischer | 2021-07-09 | 1 | -0/+1 |
| | | |||||
| * | [README] mention pyls | Florian Fischer | 2021-07-09 | 1 | -1/+1 |
| | | |||||
| * | 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 |
| | | |||||
| * | Merge pull request #11 from fischerling/pid_pgrep_fallback | fischerling | 2021-03-08 | 1 | -3/+19 |
| |\ | | | | | introduce a fallback if /proc/self/stat is not available | ||||
| | * | 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. | ||||
| * | Merge pull request #12 from fischerling/github-ci | fischerling | 2021-03-08 | 1 | -2/+9 |
| |\ | | | | | [github-ci] install luacheck lua-format | ||||
| | * | [github-ci] disable luaformat check till luarocks > 3 is in ubuntu | Florian Fischer | 2021-03-08 | 1 | -3/+4 |
| | | | |||||
| | * | [github-ci] install luacheck lua-format | Florian Fischer | 2021-03-08 | 1 | -0/+6 |
| |/ | |||||
| * | [make] use bash as shell | Florian Fischer | 2021-03-08 | 1 | -0/+3 |
| | | |||||
| * | create github check workflow | fischerling | 2021-03-08 | 1 | -0/+32 |
| | | |||||
| * | add new check-format make target | Florian Fischer | 2021-03-08 | 1 | -2/+7 |
| | | |||||
| * | 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 | ||||
