π 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) andfish-lsp info --dump-symbol-tree(37cb727) #151 - feat:
fish-lsp start --webfor the fish-lsp.dev/playground container (f26461c) - feat:
fish_lsp_tree_sitter_wasm_pathenv 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.wasmexported for distributing build via other package managers - feat: support
string match -rq -- '(?<var>)' $argvnamed captures (082b90c)
andset -q VAR || set -gx VARpatterns identified in references (58bd56a) - feat: hover falls back to the matching uppercase
SUBCOMMANDmanpage section (e99a609)
In other words,string split,path resolve, etc... displays correct manpage section - build: new
yarn build:npm:nosourcemapsscript available for external package manager developers looking to shrink bundle sizeNOTE: 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 -fxgUnow 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