| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Revert "check if capabilities.textDocumentSync.save is indexable" | Florian Fischer | 11 days | 1 | -2/+1 |
| | | | | | This reverts commit c5d260a3b65cff246fbc8e3828e1f4a0c16304ba. | ||||
| * | Handle writes to closed language-server pipes | Matěj Cepl | 11 days | 1 | -2/+9 |
| | | | | | | | | A language server can exit and close its communication pipe before vis-lspc sends its next RPC message. The resulting Lua file-handle error escapes the RPC function and interrupts editing. Catch failures from write and flush, log the server name and error, and return false instead. | ||||
| * | check if capabilities.textDocumentSync.save is indexable | Florian Fischer | 11 days | 1 | -1/+2 |
| | | | | | Fixes: 35ef46023670e94617b3a5ea49591a2ee5808c0e | ||||
| * | support textDocumentSync.save.includeText capability | Florian Fischer | 12 days | 1 | -0/+3 |
| | | |||||
| * | support feature detection for vis ui styling API | Matěj Cepl | 13 days | 1 | -2/+2 |
| | | | | | | | | | | | In builds of vis packaged without a git tree (such as openSUSE OBS RPM builds), vis.API defaults to 0. Checking `vis.API > 3215` therefore fails even when the new vis.ui styling API is present. Check for the existence of `vis.ui.style_define` and `vis.ui.style_push` directly, and accept an optional window object in util.style_define for backward compatibility with older versions. | ||||
| * | send empty array containing null if no configuration is available | Florian Fischer | 2026-09-22 | 1 | -1/+1 |
| | | |||||
| * | implement backward compatible style handling | Florian Fischer | 2026-07-15 | 1 | -2/+9 |
| | | | | | Remove diagnostic_style_id and use vis.ui:style_push to obtain one. | ||||
| * | export lspc_select as lspc:select | Florian Fischer | 2026-05-14 | 1 | -5/+5 |
| | | | | | | | | | This allows external code to reuse the select method. Example visrc.lua: local lspc = require('plugins/vis-lspc') local choice = lspc:select({'A', 'B', 'C', '6'}) | ||||
| * | support vis' new option get-callback | Florian Fischer | 2026-05-14 | 1 | -28/+26 |
| | | |||||
| * | run make format | Florian Fischer | 2026-05-13 | 1 | -1/+1 |
| | | | | | FIXES: ee7d98607dc67b08cf554e2cfb7442407f94ce38 | ||||
| * | Merge branch 'Topoetry-show_message-info' | Florian Fischer | 2026-04-22 | 1 | -14/+18 |
| |\ | |||||
| | * | made 1 line message be displayed with vis:info | Topoetry | 2026-04-22 | 1 | -14/+18 |
| | | | | | | | | | made the documentation for `show_message` clearer | ||||
| * | | fix custom ls workspace root detection | Florian Fischer | 2026-04-20 | 1 | -1/+1 |
| |/ | | | | | | | | | find_root_uri should consider the root configuration option for each language server, however currently non-existent table member is checked. Reported-By: lieks Suggested-By: lieks | ||||
| * | remove syntax highlighting from the navigation window | Florian Fischer | 2026-01-30 | 1 | -0/+3 |
| | | |||||
| * | improve navigation windows | Florian Fischer | 2026-01-30 | 1 | -71/+60 |
| | | | | | | | | Remove broken autoscrolling. Add commands to control a code/navigation window pair. Support multiple navigation window pairs. Improve default navigation window keybindings. | ||||
| * | make navigation window configurable and add key bindings | Florian Fischer | 2026-01-30 | 1 | -32/+110 |
| | | |||||
| * | support navigating a file by its symbols in a seperate window | Florian Fischer | 2026-01-30 | 1 | -0/+147 |
| | | |||||
| * | settings: do not send empty settings arrays to the server | Florian Fischer | 2025-11-30 | 1 | -2/+7 |
| | | | | | | LSP requires that the result array of a workspace/configure call must include null if the client can not provide any configuration. | ||||
| * | implement more sophisticated settings | Florian Fischer | 2025-11-30 | 1 | -19/+46 |
| | | |||||
| * | add language server configuration to its object table | Florian Fischer | 2025-11-30 | 1 | -7/+8 |
| | | |||||
| * | remove usable LS check from highlight_diagnostics | Florian Fischer | 2025-11-12 | 1 | -5/+0 |
| | | | | | | | Highlighting diagnostics does not need a LS. However, there should only be diagnostics if a LS is available. But, this is already checked when looking at the open file. | ||||
| * | only try to de-flatten a configuration section if it is present | Florian Fischer | 2025-11-12 | 1 | -6/+9 |
| | | | | | | | Harper send requests like this {"jsonrpc":"2.0","method":"workspace/configuration","params":{"items":[{}]},"id":0} containing a single empty item. | ||||
| * | fix(empty file): fixes ls trying to open an empty file | Jason Fuchs | 2025-09-02 | 1 | -1/+1 |
| | | |||||
| * | add autoconfirm_edits configuration option | Florian Fischer | 2025-07-12 | 1 | -16/+18 |
| | | | | | | Some language servers replace the whole file content on an edit, thus producing potentially really big diffs not suitable for review and user confirmation. So some users may just accept the changes proposed from the language server. | ||||
| * | Merge branch 'fix-select-location-format' into 'main' | Florian Fischer | 2025-07-02 | 1 | -2/+2 |
| |\ | | | | | | | | | Fix non-integers for position in select location See merge request muhq/vis-lspc!62 | ||||
| | * | Fix non-integers for position in select location | Michiel van den Heuvel | 2025-07-02 | 1 | -2/+2 |
| | | | |||||
| * | | Add pull diagnostics | Michiel van den Heuvel | 2025-07-02 | 1 | -1/+43 |
| |/ | |||||
| * | fix the line number detection with tabs | Florian Fischer | 2025-06-08 | 1 | -3/+8 |
| | | | | | | If a line includes tabs add the visually added space for each tab stop to the line length in order to detect a wrapped line. | ||||
| * | Coalesce some event subscriptions | Michiel van den Heuvel | 2025-05-15 | 1 | -15/+18 |
| | | |||||
| * | Merge branch 'sel_to_pos_v2' into 'main' | Florian Fischer | 2025-05-15 | 1 | -42/+24 |
| |\ | | | | | | | | | | | | | Change vis_sel_to_pos to vis internals or to count lines itself Closes #38 See merge request muhq/vis-lspc!58 | ||||
| | * | improve the documentation of some lsp_type comparison helpers | Florian Fischer | 2025-02-14 | 1 | -2/+9 |
| | | | |||||
| | * | calculate the positions for multiple selections at once | Florian Fischer | 2025-02-14 | 1 | -4/+8 |
| | | | |||||
| | * | move file location converters functions into util module | Florian Fischer | 2025-02-14 | 1 | -31/+4 |
| | | | | | | | | | Use the the internal vis logic as fast path if available. | ||||
| | * | Change vis_sel_to_pos to count lines itself | Michiel van den Heuvel | 2025-02-04 | 1 | -20/+18 |
| | | | | | | | | | | | | | | | | | | | | | This avoids the screen scrolling when receiving diagnostics from the server, which currently means that saving the file randomly centers the cursor. This is a first version, I think that an optimisation is possible where it doesn't loop through the file for every selection, but loops once, converting every selection passed. | ||||
| * | | Check lsp return value is table in handlers | Michiel van den Heuvel | 2025-05-14 | 1 | -4/+4 |
| |/ | | | | | At least in lua-cjson, null is sometimes returned as a (light) userdata value. This resulted in ugly errors. | ||||
| * | Fix undefined conf field in ls | Michiel van den Heuvel | 2025-02-02 | 1 | -1/+1 |
| | | | | | | This is something that should only be in the settings branch, watch out when merging these two. | ||||
| * | make universal root detection opt-in | Florian Fischer | 2025-01-11 | 1 | -2/+9 |
| | | |||||
| * | extract the upwards find code into the util module | Florian Fischer | 2025-01-09 | 1 | -13/+12 |
| | | |||||
| * | refactor the language server code | Florian Fischer | 2025-01-09 | 1 | -83/+105 |
| | | | | | Introduce a LanguageServer meta-table and write more documentation. | ||||
| * | *: pass rootUri | git-bruh | 2025-01-09 | 1 | -1/+23 |
| | | |||||
| * | lazily initialize the default logger | Florian Fischer | 2024-12-30 | 1 | -1/+1 |
| | | | | | | | | | | | | In order for the user to configure the logging behavior the values of lspc.logging and lspc.log_file must be evaluated after vis-lspc was required. To lazily evaluate the logging configuration a new LazyInitLogger metatable is introduced, which initializes the actual logger on first use. Fixes: 1bd1416c89f92f637ca5e22c94b3479f8d32f2d7 | ||||
| * | attempt a gracefully shutdown the language servers when vis quits | Florian Fischer | 2024-10-25 | 1 | -0/+11 |
| | | |||||
| * | replace the shell with the language server | Florian Fischer | 2024-10-25 | 1 | -1/+1 |
| | | |||||
| * | remove assertion that a closed file always has a path | Florian Fischer | 2024-09-25 | 1 | -1/+1 |
| | | | | | | | | | When closing any open file we assume it has a baking path. However, especially windows we opened to present markdown messages to the user have no backing path, and thus closing them fail. Fix this assumption and use vis' "[No Name]" if no file path is set. | ||||
| * | fix used quotes and remove old code in comments | Florian Fischer | 2024-09-15 | 1 | -3/+0 |
| | | |||||
| * | move helper code into the util module | Florian Fischer | 2024-09-15 | 1 | -145/+10 |
| | | |||||
| * | use fzf as menu command in fullscreen mode | Florian Fischer | 2024-09-15 | 1 | -1/+2 |
| | | |||||
| * | scroll last message to the top of the message window | Florian Fischer | 2024-09-14 | 1 | -3/+4 |
| | | |||||
| * | init: convert absolute paths to relative for references | git-bruh | 2024-09-14 | 1 | -1/+73 |
| | | |||||
| * | lspc_select_locations: print source line contents in choices | git-bruh | 2024-09-14 | 1 | -4/+91 |
| | | |||||
