Skip to content

v11.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Aug 22:29

11.0.0 - 2021-09-01

Breaking changes:

  • Two incompatible changes to the configuration format - see the updated kak-lsp.toml for examples.
    • semantic_tokens syntax has changed, allowing for more fine-grained face configuration (#488)
    • settings replaces initialization_options for server-specific settings (#511)
  • Snippet support has been disabled by default, as a workaround for conflicts with Kakoune's built-in completion (#282).
  • lsp-show-message, which handles window/showMessage requests from the server has been removed. See below for the replacement.
  • Hidden commands lsp-next-match and lsp-previous-match were removed in favor of lsp-next-location and lsp-previous-location (#466).
  • haskell-language-server is the new default language server for Haskell, replacing haskell-ide-engine.

Additions:

  • Finish support for workspace/configuration (#234).
  • %opt{lsp_config} allows to set server-specific settings dynamically (#500).
  • Default configuration for Julia (#502).
  • lsp-show-message has been replaced by four separate commands lsp-show-message-{error,warning,info,log}.
    The new default implementations log the given messages from the language server to the debug buffer. Important messages are shown in %opt{toolsclient}.
  • The new command lsp-show-code-actions can be overridden to customize the default menu behavior of lsp-code-actions (#367).
  • New commands lsp-{next,previous}-location generalize grep-next-match, lsp-next-match and friends (#466).
  • New option lsp_location_format to customize the ":"-style location patterns that lsp-{next,previous}-location can match (#466).

Bug fixes:

  • Fix renaming of Rust lifetimes (#474).
  • The suggested config for rust-analyzer was fixed for the case that rustup is installed but rust-analyzer is not installed via rustup.
  • Fix spurious cursor movement on lsp-rename and lsp-rename-prompt (#504).
  • Fix responses to workspace/configuration in case there are no initialization options set (#509).

Deprecations:

  • %opt{lsp_server_initialization_options} and %opt{lsp_server_configuration} are deprecated in favor of setting [language.<filetype>.settings] in %opt{lsp_config}(#500).
  • lsp-{goto,symbols}-{next,previous}-match are deprecated in favor of commands like lsp-next-location *goto* and similar (#466).