aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix check and test make targets and run make formatFlorian Fischer2023-01-042-3/+6
| | | | | The make targets use a shell loop which does not fail if one of the iterations fail.
* use lspc version when starting dart language-serverFlorian Fischer2023-01-041-1/+10
|
* Merge branch 'supported-servers' into 'main'Florian Fischer2023-01-041-0/+8
|\ | | | | | | | | Supported servers (typescript/dart) See merge request muhq/vis-lspc!37
| * add dart language server configurationErlend Lind Madsen2023-01-021-1/+4
| |
| * add javascript/typescript support using 'typescript-language-server'Erlend Lind Madsen2023-01-021-0/+5
| |
* | add missing lspc fileFlorian Fischer2023-01-021-0/+75
| | | | | | | | Fixes 3e1894cd0825e028c9e37c90f8dbaa8499fdd4e3.
* | move client config and capabilities into separate fileFlorian Fischer2023-01-021-70/+3
|/ | | | | This helps to move code out of the to big init.lua as well as allows to use the vis-lspc version in different lua files.
* use local variable instead of a global oneFlorian Fischer2023-01-021-1/+1
| | | | Fixes: 9c0a9b4fdcb2f0912b8ec3b9f7127d660565f898
* fix initialized notification parametersFlorian Fischer2023-01-021-1/+4
| | | | | | | | | | | | LSP defines the parameters of the initialized notifications as empty object. The dart language server expects that the initialize notification has an empty params object. Therefore, pass an empty parameter table to the initialized notification. Tested with our fallback json implementation as well as dkjson. Fixes !37.
* fix textDocumentSync.save ServerCapability checkFlorian Fischer2023-01-021-1/+2
| | | | | | | | | | | | The ServerCapability textDocumentSync is optional and may be of kind TextDocumentSyncOptions | TextDocumentSyncKind; If a server uses TextDocumentSyncKind which is a integer enum our .save check fails. Test if it is save to use textDocumentSync as table before checking the save capability. Fixes !35.
* fallback json: support explicit null encodingFlorian Fischer2023-01-011-2/+5
|
* bump versionv0.1.5Florian Fischer2023-01-011-1/+1
|
* fix typo in commentFlorian Fischer2023-01-011-1/+1
|
* fix passed InitializeParamsFlorian Fischer2023-01-011-3/+3
| | | | | Correct the name of two parameters and ensure that the required parameter 'rootUri' is always set to null.
* move server configurations into a seperate fileFlorian Fischer2022-08-013-15/+20
|
* support window/showMessage notificationsFlorian Fischer2022-07-291-0/+18
| | | | | | | Introduce a new configuration message_level to control the messages displayed. The option message_level ranges from 1 - 4 (Error - Log) and corresponds to LSP's MessageType namespace.
* use lua 5.4 to run parser_test.luaFlorian Fischer2022-07-111-1/+1
|
* CI: use my own lua docker containerFlorian Fischer2022-07-111-8/+5
|
* Merge branch 'jgart-master-patch-41230' into 'master'Florian Fischer2022-07-091-1/+1
|\ | | | | | | | | Fix typo in init.lua See merge request muhq/vis-lspc!36
| * Update init.luaJorge Gomez2022-07-091-1/+1
|/
* send clientCapabilitiesFlorian Fischer2022-02-202-6/+39
| | | | | | | Be nicer to the language servers by providing our capabilities so maybe we get more deterministic results. We do not support dynamicRegistration, markdown or workDoneProgress.
* support hoverResults containing MarkedString[]Florian Fischer2022-02-201-2/+16
| | | | | | python-language-server sends a list of MarkedStrings containing the signature as python code-block and the doc string as string. https://github.com/palantir/python-language-server/issues/836
* mention that our bundled json impl does not support utf-8Florian Fischer2022-02-201-3/+6
|
* editorconfig: add .gitlab-ci.yml configFlorian Fischer2021-12-281-0/+4
|
* README: update configured language serversFlorian Fischer2021-12-281-1/+1
|
* reformat ls_map tables as a table literalMatěj Cepl2021-12-281-9/+10
|
* add Lua LSP server configurationMatěj Cepl2021-12-281-1/+5
|
* github: remove CI configFlorian Fischer2021-12-281-47/+0
|
* Merge branch 'add-gl-ci' into 'master'Florian Fischer2021-12-283-5/+33
|\ | | | | | | | | Add simple gitlab CI running on ubuntu:rolling See merge request muhq/vis-lspc!35
| * make: implement check-format in POSIX shellFlorian Fischer2021-12-282-5/+10
| | | | | | | | The docker image used for the CI does not contain bash.
| * Add simple gitlab CI running on luarocksFlorian Fischer2021-12-281-0/+23
|/ | | | https://hub.docker.com/r/imolein/luarocks
* try multiple json implementationsFlorian Fischer2021-12-272-10/+19
| | | | | We try 'json', 'cjson' and 'dkjson' in that order before using our bundled fallback implementation.
* actually use python-lsp-server binaryFlorian Fischer2021-12-271-1/+1
|
* change default python language server to pylspFlorian Fischer2021-12-271-2/+3
|
* Merge pull request #32 from jgarte/guixrus-vis-lspcfischerling2021-12-241-0/+16
|\ | | | | Mention easy installation of vis-lspc with GuixRUs
| * Mention easy installation of vis-lspc with GuixRUsjgart2021-12-241-0/+16
|/
* bump version to 0.1.4v0.1.4Florian Fischer2021-12-131-1/+1
|
* use capture_cmd where possibleFlorian Fischer2021-12-131-7/+1
|
* improve default loggingFlorian Fischer2021-12-132-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-optionsfischerling2021-12-081-0/+10
|\ | | | | add menu-/ confirm-cmd options
| * add menu-/ confirm-cmd optionsFlorian Fischer2021-12-081-0/+10
|/
* rebind signatureHelp to <C-K> to prevent conflicts with vis bindingsFlorian Fischer2021-12-061-1/+1
|
* fix ff92a0f1fca0f0db5b00022fc2ac41579ac5ab24Florian Fischer2021-12-061-1/+1
| | | | Don't use a global variable.
* handle string or MarkContent documentation in SignatureInformationFlorian Fischer2021-12-061-2/+2
|
* do not try to handle error responsesFlorian Fischer2021-11-221-1/+3
|
* fix crash in error reportingFlorian Fischer2021-11-211-1/+3
| | | | We crashed because a forgotten concatenation operator
* do not use lspc.log before lspc is initializedFlorian Fischer2021-08-292-62/+57
|
* bump version to 0.1.3v0.1.3Florian Fischer2021-08-161-1/+1
|
* Merge pull request #17 from fischerling/parserfischerling2021-08-165-52/+233
|\ | | | | Improve message parsing
| * add tests for the LSP message parserFlorian Fischer2021-08-163-4/+142
| |