| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | Merge branch 'add-tools-editorconfig' into 'main' | Florian Fischer | 2025-02-02 | 1 | -0/+5 |
| |\ | | | | | | | | | Add editorconfig section for tools/ See merge request muhq/vis-lspc!56 | ||||
| | * | Add editorconfig section for tools/ | Michiel van den Heuvel | 2025-02-02 | 1 | -0/+5 |
| | | | |||||
| * | | Merge branch 'fix-find-root-uri' into 'main' | Florian Fischer | 2025-02-02 | 2 | -3/+4 |
| |\ \ | |/ |/| | | | | | Fix some issues with find_root_uri See merge request muhq/vis-lspc!55 | ||||
| | * | Fix find_upwards | Michiel van den Heuvel | 2025-02-02 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | - Use `util.vis_pipe` instead of `vis:pipe` as this does not work on the current release of vis. - Quote the path to the find-upwards script. It resides in `~/Library/Application Support` on my macOS setup, and while not very common, paths in other users' configurations might have the same issue. - At least during testing, `out` was nil in some cases. `find_upwards` checks it now. | ||||
| | * | 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. | ||||
| * | handle special cases in util.dirnamedetect-root | Florian Fischer | 2025-01-11 | 2 | -1/+39 |
| | | |||||
| * | make universal root detection opt-in | Florian Fischer | 2025-01-11 | 5 | -6/+42 |
| | | |||||
| * | extract the upwards find code into the util module | Florian Fischer | 2025-01-09 | 3 | -14/+30 |
| | | |||||
| * | refactor the language server code | Florian Fischer | 2025-01-09 | 1 | -83/+105 |
| | | | | | Introduce a LanguageServer meta-table and write more documentation. | ||||
| * | supported-servers: update roots | git-bruh | 2025-01-09 | 1 | -5/+35 |
| | | |||||
| * | *: pass rootUri | git-bruh | 2025-01-09 | 2 | -1/+49 |
| | | |||||
| * | add clangd config for new C syntax name | Florian Fischer | 2025-01-04 | 1 | -0/+1 |
| | | | | | | vis 6d362f260c1573d5fb1b60be4ea84689600d368e changed the syntax name for C from ansi_c to c. | ||||
| * | lazily initialize the default logger | Florian Fischer | 2024-12-30 | 2 | -1/+30 |
| | | | | | | | | | | | | 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 | ||||
| * | Merge branch 'vscode-langservers-extracted' into 'main' | Florian Fischer | 2024-12-17 | 1 | -0/+21 |
| |\ | | | | | | | | | Add language servers from VSCode langservers extracted See merge request muhq/vis-lspc!53 | ||||
| | * | supported-servers.lua: fix formatting | Aaron John | 2024-12-14 | 1 | -4/+13 |
| | | | |||||
| | * | supported-servers.lua: add json-language-server | Aaron John | 2024-12-11 | 1 | -0/+4 |
| | | | |||||
| | * | supported-servers.lua: add css-language-server | Aaron John | 2024-12-11 | 1 | -0/+4 |
| | | | |||||
| | * | supported-servers.lua: add html-language-server | Aaron John | 2024-12-11 | 1 | -0/+4 |
| |/ | |||||
| * | Merge branch 'bash-lsp' into 'main' | Florian Fischer | 2024-11-01 | 1 | -0/+4 |
| |\ | | | | | | | | | supported-servers.lua: add bash-language-server See merge request muhq/vis-lspc!52 | ||||
| | * | supported-servers.lua: add bash-language-server | Aaron John | 2024-10-31 | 1 | -0/+4 |
| |/ | |||||
| * | 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. | ||||
| * | Merge branch 'fix-diagnostics-documentation' into 'main' | Florian Fischer | 2024-09-21 | 1 | -2/+2 |
| |\ | | | | | | | | | Fix lspc-{prev,next}-diagnostic typo in README See merge request muhq/vis-lspc!51 | ||||
| | * | Fix lspc-{prev,next}-diagnostic typo in README | Michiel van den Heuvel | 2024-09-20 | 1 | -2/+2 |
| |/ | |||||
| * | fix used quotes and remove old code in comments | Florian Fischer | 2024-09-15 | 2 | -4/+1 |
| | | |||||
| * | move helper code into the util module | Florian Fischer | 2024-09-15 | 2 | -145/+174 |
| | | |||||
| * | 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 |
| | | |||||
| * | minor cleanups reported by luacheck | Florian Fischer | 2024-09-14 | 2 | -3/+3 |
| | | |||||
| * | properly close the message window after applying a workspaceEdit | Florian Fischer | 2024-09-14 | 1 | -1/+14 |
| | | |||||
| * | use the new vis:pipe(txt, cmd) variant if available | Florian Fischer | 2024-09-14 | 1 | -14/+20 |
| | | |||||
| * | assert that io.popen returns a usable process handle | Florian Fischer | 2024-08-27 | 1 | -1/+1 |
| | | |||||
| * | move the fzf detection snippet into lspc.lua | Florian Fischer | 2024-08-27 | 2 | -8/+6 |
| | | | | | | It changes a default setting keep it in the file where the default settings are defined. | ||||
| * | make the message handling functions methods of the lspc object | Florian Fischer | 2024-08-27 | 3 | -133/+153 |
| | | | | | | Move the logging code into its own module and export the default logger. Other modules can use the logger exported in the lspc table. | ||||
| * | reorder early initialization code | Florian Fischer | 2024-08-27 | 1 | -6/+7 |
| | | |||||
| * | export the json module and move all json related code into json.lua | Florian Fischer | 2024-08-27 | 2 | -37/+35 |
| | | | | | | In the future other modules can use the json implementation included in our lspc table. | ||||
| * | use LDoc module header | Florian Fischer | 2024-08-27 | 1 | -20/+7 |
| | | |||||
| * | reset the window focus after showing a message | Florian Fischer | 2024-08-12 | 1 | -0/+5 |
| | | |||||
| * | pass the opened file along lspc.events.LS_DID_OPEN events | Florian Fischer | 2024-08-07 | 1 | -1/+1 |
| | | |||||
| * | fix lspc-rename argument clash | Florian Fischer | 2024-08-07 | 1 | -2/+2 |
| | | | | | Fixes: 87881778dfa808f41b5ee911095318373fae9a72 | ||||
| * | refactor parser to more idiomatic OOP | Florian Fischer | 2024-08-07 | 3 | -41/+42 |
| | | |||||
| * | improve printf usage | Florian Fischer | 2024-08-07 | 1 | -2/+2 |
| | | | | | | | | Use %s and '' instead of "" to prevent the shell from interpreting the string to print. Escape all occurenses of ' in the string with '"'"' like python's shlex.quote. This prevents shell injection attacks by files with malicious names. | ||||
| * | fix diagnostic message creation if no file is available in the window | Florian Fischer | 2024-08-06 | 1 | -1/+1 |
| | | |||||
| * | improve usable ls detection | Florian Fischer | 2024-05-24 | 1 | -28/+38 |
| | | | | | | | | Fallback to the first usable language server if neither a syntax is explicitly specified nor a syntax is set in the window. Support an explicit syntax argument in all registered commands. | ||||
| * | use ls:call_method call convention consistently | Florian Fischer | 2024-05-23 | 1 | -2/+2 |
| | | |||||
| * | fix open file tracking after didClose | Florian Fischer | 2024-05-22 | 1 | -1/+4 |
| | | | | | | | | | | Properly remove the reference to the language server to which we send the didClose notification. Additionally, remove the open file reference if this was the last language server for the closed file. Fixes: 3c4b876ce21be2928c1bab33856d2294e6b43f5b | ||||
