| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This should be wired up to code that's in a pull request in the vis
repository for the default options. This PR does not yet expose
`expandtab`.
Referenced PR: https://github.com/martanne/vis/pull/717
|
| |
|
|
|
|
|
| |
This is tested with the Rust language server and the Lua one. Moving
the cursor to the correct position afterwards works with Rust, but not
with Lua. Being smarter about the ranges is probably necessary for Lua
and might make other ones more robust.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
| |
We try 'json', 'cjson' and 'dkjson' in that order before using our
bundled fallback implementation.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
add new bindings, commands and configuration options
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add support for user choices by piping the available choices through
lspc.menu_cmd which must be a dmenu|vis-menu|fzf like tool.
* Mention all commands and options in the README
* Add support for textDocument/references
* Support opening new location in a horizonatl or vertical split
* Internal refactoring
* Group binding, vis command and event code
* Return error messages and use vis:info only in vis commands
* Fix a bug on unexpected server termination
|
| | |
|
| | |
|
| | |
|
| |
|