Skip to content

Releases: natebosch/vim-lsc

0.2.3

31 Jul 00:23
Compare
Choose a tag to compare
  • redraw after jumping to definition in another file.
  • Allow configuring trace level with g:lsc_trace_level. May be one of 'off',
    'messages', or 'verbose'. Defaults to 'off'.
  • Bug fix: Avoid deep stack during large spikes of messages. Switch from
    recursion to a while loop.
  • Add LSClientDisable, LSClientEnable to disable or re-enable the client
    for the current filetype during a session.
  • Add LSClientShowHover to display hover information in a preview window.
  • Add support for automatically mapping keys only in buffers for tracked
    filetypes.

0.2.2

28 Jun 17:17
Compare
Choose a tag to compare
  • Completion Improvements:
    • Bug fix: Don't leave an extra character when completing after typing 3
      characters.
    • Filter completions after typing 3 characters.
    • Add configuration to disable autocomplete.
    • Bug Fix: Don't block future completion attempts after an empty suggestion
      list.
    • Use the triggerCharacters suggested by the server instead of .
      exclusively.
    • Use only the first line of suggestion detail in completion menu
  • Bug Fix: Send and allow a space before header content.

0.2.1

15 Jun 19:54
Compare
Choose a tag to compare
  • Handle language server restarts:
    • Clean up local state when a language server exits.
    • Call didOpen for all open files when a language server (re)starts.
  • Add LSClientRestart command to restart the server for the current filetype.

0.2.0

31 May 21:29
Compare
Choose a tag to compare
  • More detail in completion suggestions, doc comment in preview window.
  • Sort diagnostics in location list.
  • Breaking: Allow only 1 server command per filetype.
  • Add commands for GoToDefinition and FindReferences
  • Bug fix: Don't try to read lines from unreadable buffer.

0.1.3

15 May 03:06
Compare
Choose a tag to compare
  • Bug fix: Newlines in diagnostics are replace with '\n' to avoid multiline
    messages
  • Add support for textDocument/references request. References are shown in
    quickfix list.
  • Bug fix: Support receiving diagnostics for files which are not opened in a
    buffer

0.1.2

15 May 03:05
Compare
Choose a tag to compare
  • Bug fix: Leave a jump in the jumplist when moving to a definition in the same
    file
  • Completion improvements:
    • Overwrite completeopt before completion for a better experience.
    • Avoid completion requests while already giving suggestions
    • Improve heuristics for start of completion range
    • Flush file changes after completion
  • Bug fix: Don't change window highlights when in select mode
  • Bug fix: Location list is cleared when switching to a non-tracked filetype,
    and kept up to date across windows and tabs showing the same buffer

0.1.1

23 Apr 22:58
Compare
Choose a tag to compare
  • Call initialize first for better protocol compliance
  • Use a relative path where possible when jumping to definition
  • Only display 'message' field for errors
  • Bug Fix: Less likely to delete inserted text when trying to complete
  • Bug Fix: More likely to try to complete when not following a '.'
  • Populate location list with diagnostics
  • Bug fix: Don't try to 'edit' the current file