Skip to content

v1.1.4

Latest

Choose a tag to compare

@ndonfris ndonfris released this 11 Jun 09:59

example.fish β€” fish-lsp playground

🐠 you can now try out the server directly in your browser at https://fish-lsp.dev/playground πŸ₯Ό

What's Changed

Warning

Breaking Change: fish_lsp_single_workspace_support now defaults to true (5b5a068). Each file is scoped to its own workspace by default β€” set this to false to restore the previous multi-workspace behavior.

Features

  • feat: richer semantic token highlighting for operators, subcommands, and ignored symbols (f208a37) #133
  • feat: hover, definition, and references now resolve commands nested at the cursor (cc4304e)
  • feat: new startup inspection flags β€” fish-lsp --profile / --short (77b8e6f) and fish-lsp info --dump-symbol-tree (37cb727) #151
  • feat: fish-lsp start --web for the fish-lsp.dev/playground container (f26461c)
  • feat: fish_lsp_tree_sitter_wasm_path env override for the tree-sitter grammar (3ab4a8c)

    NOTE: patched wasm build for tree-sitter-fish#41 is temporarily embedded in current release's build.

    Rebuild with set -gx fish_lsp_tree_sitter_wasm_path tree-sitter-fish.wasm exported for distributing build via other package managers

  • feat: support string match -rq -- '(?<var>)' $argv named captures (082b90c)
    and set -q VAR || set -gx VAR patterns identified in references (58bd56a)
  • feat: hover falls back to the matching uppercase SUBCOMMAND manpage section (e99a609)
    In other words, string split, path resolve, etc... displays correct manpage section
  • build: new yarn build:npm:nosourcemaps script available for external package manager developers looking to shrink bundle size

    NOTE: debugging logs will be minified js so tracking any error stack traces will require downloading a version including the sourcemaps

Fixes

  • perf: faster startup via lazy loading during initialization (fadc172)
  • fix: corrected hover fallback order β€” symbol β†’ snippet β†’ global β†’ man β†’ multi-ref (a54428d)
  • fix: more accurate diagnostics, workspace scoping, and command resolution (cf19672)
  • fix: cleaner completion formatting and documentation caching (1be7c8c)
  • fix: set name -fxgU now displays the value when the name matches a scope modifier (44e88e4) #145
  • fix: inlay hints recognize 12* exit codes for $status > 128 (747febb)

Full Changelog: v1.1.3...v1.1.4

Installation

# use npm
npm i -g fish-lsp@latest

# use yarn
yarn global add fish-lsp@1.1.4
download on npm