aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
Commit message (Collapse)AuthorAgeFilesLines
* Add pull diagnosticsMichiel van den Heuvel2025-07-021-0/+1
|
* make universal root detection opt-inFlorian Fischer2025-01-111-1/+7
|
* move the fzf detection snippet into lspc.luaFlorian Fischer2024-08-271-3/+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 objectFlorian Fischer2024-08-271-17/+35
| | | | | Move the logging code into its own module and export the default logger. Other modules can use the logger exported in the lspc table.
* use vis' event system instead of custom language server hooksFlorian Fischer2024-04-301-1/+4
|
* lspc, init: emit LS_INITIALIZED and implicitly call lspc_open on server initgit-bruh2024-04-301-0/+3
|
* use a global mapping of open filesFlorian Fischer2024-04-301-0/+1
| | | | | | | This allows us to support opening a single file in multiple language server instances. This can be useful when combining for example a latex and a language tool language server.
* support highlighting line numbers using vis:style_posFlorian Fischer2024-04-251-5/+6
| | | | | Replace the hacky style_lineno code with the new vis:style_pos API probably included in upcoming vis v0.9.
* make the way messages are presented configurableFlorian Fischer2024-04-151-0/+4
| | | | | | | | | The two options are either using vis:message (the default) which will keep all messages in the vis message buffer and include a header line to distinguish the different messages. The second option is using open and presenting messages in a separate window supporting syntax highlighting.
* _show_markdown_message: helper for markdown infogit-bruh2024-04-121-4/+4
|
* enable diagnostic highlighting by defaultFlorian Fischer2024-04-111-1/+1
| | | | | This is inline with our README.md claiming 'line' is the default value for highlight_diagnostics.
* use less instructive default styles for highlighting diagnosticFlorian Fischer2024-04-111-4/+4
|
* chnage default diagnostic styles and mention them in the READMEFlorian Fischer2024-04-111-4/+4
|
* lspc, init: add different diagnostic styles for each typegit-bruh2024-04-111-3/+8
|
* Merge branch 'apply-workspaceEdit-remember-cursor' into 'main'Florian Fischer2024-04-081-0/+3
|\ | | | | | | | | restore the primary cursor position after a workspaceEdit See merge request muhq/vis-lspc!47
| * restore the primary cursor position after a workspaceEditapply-workspaceEdit-remember-cursorFlorian Fischer2024-03-221-0/+3
| |
* | lspc: explicitly specify publishDiagnostics in client_capabilitiesgit-bruh2024-04-081-0/+1
|/
* increase thedefault style idFlorian Fischer2023-10-251-1/+1
| | | | | | | | | Using the new latex lexer from the upcoming vis release I noticed that vis-lspc default style id 43 overrides the environment style from the lexer. To prevent id clashing use the highest allowed id for lexer styles, which is 64 according to the enum defined in vis/ui.h.
* fix format of license file headersFlorian Fischer2023-06-251-5/+5
|
* fix the license headers to reflect the used GPL licenseFlorian Fischer2023-06-241-1/+15
|
* bump version to 0.1.8v0.1.8Florian Fischer2023-01-181-1/+1
|
* bump version to 0.1.7v0.1.7Florian Fischer2023-01-141-1/+1
|
* support configuration and initializationOptions per language serverFlorian Fischer2023-01-141-1/+4
| | | | | | | | | | | Send language server settings after initialization via a workspace/didChangeConfiguration notification. Implement a workspace/configuration handler using the values stored in the language server settings. Send the init_options as initializationOptions in the initialize parameters.
* make vis-menu and vertical selection the default menu cmdFlorian Fischer2023-01-111-1/+1
|
* bump versionv0.1.6Florian Fischer2023-01-041-1/+1
|
* add missing lspc fileFlorian Fischer2023-01-021-0/+75
Fixes 3e1894cd0825e028c9e37c90f8dbaa8499fdd4e3.