Skip to content

Releases: natebosch/vim-lsc

0.3.1

09 Aug 19:43
Compare
Choose a tag to compare
  • 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 a title 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

05 Jun 04:31
Compare
Choose a tag to compare
  • Add support for neovim.
  • Add highlighting based on references to the symbol under the cursor. Disable
    with let g:lsc_reference_highlights = v:false. Customize highlighting with
    the group lscReference.
  • Add LSClientNextReference and LSClientPreviousReference 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

05 Jun 04:31
Compare
Choose a tag to compare
  • 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 fire BufEnter. Restore highlights when opening a buffer
    that in a window that previously had cleared highlights.

0.2.9+1

05 Jun 04:30
Compare
Choose a tag to compare
  • Fix error in calling function message hooks.

0.2.9

20 Jan 19:26
Compare
Choose a tag to compare
  • 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 TextEdits 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 a dict which gets merged into params.
    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

20 Jan 19:26
Compare
Choose a tag to compare
  • 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

25 Nov 19:41
Compare
Choose a tag to compare
  • Add support for TextDocumentSyncKind.Incremental. There is a new setting
    called g:lsc_enable_incremental_sync which is defaulted to v: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

12 Nov 18:35
Compare
Choose a tag to compare
  • 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 and List<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 and window/logMessage.
  • Use <nomodeline> with doautocmd.
  • 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

11 Aug 15:48
Compare
Choose a tag to compare
  • Add autocmds LSCAutocomplete before firing completion, and LSCShowPreview
    after opening the preview window.
  • Change Info and Hint diagnostic default highlight to SpellCap.
  • Append diagnostic code to the message.

0.2.4

04 Aug 05:09
Compare
Choose a tag to compare
  • 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.