Releases: natebosch/vim-lsc
Releases · natebosch/vim-lsc
0.3.1
- Allow using the default map but overriding or omitting a subset of the keys.
- Set
completefunc
even when autocomplete is enabled. - Don't eagerly attempt to fetch completions when autocomplete is disabled.
Allow fetching completions at any time when the manual completion function is
triggered. - Add support for passing a pattern to
:LSClientFindCodeActions
. When exactly
one action has atitle
that matches the pattern it will be run
automatically. - Bug fix: Handle workspace edits that have double quotes.
- Add support for
CodeAction
literals. - Bug fix: Correctly truncate multi-byte or wide character diagnostics.
- Bug fix: Allow duplicate words in completions (overloads).
0.3.0
- Add support for neovim.
- Add highlighting based on references to the symbol under the cursor. Disable
withlet g:lsc_reference_highlights = v:false
. Customize highlighting with
the grouplscReference
. - Add
LSClientNextReference
andLSClientPreviousReference
command to jump to
references when highlighting is enabled. - Bug Fix: Capitalize variable handling message hooks to allow
funcref
values. - Bug Fix: Order edits before applying them so that the offsets are correctly
matched to the original file. - Add
LSClientWorkspaceSymbol
. - Add
LSClientFindImplementations
. - Enable incremental sync by default.
- Enable apply edit by default.
- Improve the preview height for hover text which has few lines but they wrap.
- Bug Fix: Include diagnostics for the current line with code actions requests.
0.2.10
- Add
:LSClientDocumentSymbol
command to populate the quickfix list with
symbols in the current document. - Bug Fix: Clear highlighting when entering buffers that don't fire
BufWinEnter
but do fireBufEnter
. Restore highlights when opening a buffer
that in a window that previously had cleared highlights.
0.2.9+1
0.2.9
- Add an argument to
lsc#edit#findCodeActions
to pass a callback to choose an
action. - Save and restore window view when applying a workspace edit.
- Bug fix: Handle zero width edits at the end of a line.
- Add support for
textDocument/rename
. - Support
TextEdit
s in non-current buffers. - Add
lsc#diagnostics#count()
- Add
:LSClientAllDiagnostics
which populates the quickfix list with
diagnostics across all files that have been sent by any server. - Bug fix: Don't make callback functions global.
- Reduce performance impact of a large number of files with empty diagnostics.
- Allow
message_hooks
values to be adict
which gets merged intoparams
.
Supports inner values which are functions that get called to resolve values. - Support highlights for multi-line diagnostics.
- Split up large messages into chunks to avoid potential deadlocks where output
buffer becomes full but it isn't read. - Improve performance of incremental diff.
- Print messages received on stderr.
- Don't open an empty quickfix list when no references are found.
- Don't mask
hlsearch
with diagnostics.
0.2.8
- Don't track files which are not
modifiable
. - Bug Fix: Fix jumping from quickfix item to files under home directory.
- Only update diagnostic under cursor when the change is for the current file.
- Add support for additional per-server config.
- Bug Fix: If using
g:lsc_enable_incremental_sync
correctly handles multiple
blank lines in a row. - Add support for overriding the
params
for certain methods. - Bug Fix: Correct paths on Windows.
- Bug Fix: Allow restarting a server which failed to start initially.
- Add experimental support for
textDocument/codeActions
and
workspace/applyEdit
0.2.7
- Add support for
TextDocumentSyncKind.Incremental
. There is a new setting
calledg:lsc_enable_incremental_sync
which is defaulted tov:false
to
allow the client to attempt incremental syncs. This feature is experimental. - Bug Fix: Use buffer filetype rather than current filetype when flushing file
changes for background buffers. - Update the diagnostic under the cursor when diagnostics change for the file.
- Bug Fix: Don't change diagnostic highlights while in visual mode.
0.2.6
- Send file updates after re-reading already open file. Fixes some cases where
the server has a different idea of the file content than the editor. - Avoid clearing and readding the same diagnostic matches each time diagnostics
change in some other file. - Avoid doing work on diagnostics for unopened files.
- Bug Fix: Use the correct diagnostics when updating the location list for
windows other than the current window. - Add
LSCServerStatus()
function which returns a string representing the state
of the language server for the current filetype. :LSCRestartServer
can now restart servers that failed, rather than just
those which are currently running.- Bug Fix: Always send
didOpen
calls with the content they have at the time of
initialization rather than what they had when the buffer was read. Fixes some
cases where an edit before the server is read would get lost. - Bug Fix: Handle case where a
GoToDefinition
is an empty list rather than
null. - Bug Fix: Handle case where initialization call gets a null response.
- Bug Fix: Avoid breaking further callbacks when a message handler throws.
- Bug Fix: Handle
MarkedString
andList<MarkedString>
results to
textDocument/hover
calls. - Add experimental support for communicating over a TCP channel. Configure the
command as a "host:port" pair. - Bug Fix: Handle null completions response.
- Bug Fix: Don't include an 'id' field for messages which are notifications.
- Add support for
window/showMessage
andwindow/logMessage
. - Use
<nomodeline>
withdoautocmd
. - Bug Fix: Check for
lsc_flush_timer
before stopping it. - Show an error if a user triggered call fails.
- Bug Fix: URI encode file paths.
0.2.5
0.2.4
- Bug Fix: Handle completion items with empty detail.
LSClientShowHover
now reuses the window it already opened rather than
closing it and splitting again to allow for maintaining layout.- Add optional configuration
g:lsc_preview_split_direction
to override
splitbelow
. - Add docs.