Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@
"contributions": [
"code"
]
},
{
"login": "jose-elias-alvarez",
"name": "Jose Alvarez",
"avatar_url": "https://avatars.githubusercontent.com/u/54108223?v=4",
"profile": "https://github.com/jose-elias-alvarez",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
51 changes: 26 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,18 @@ set -gx fish_lsp_modifiable_paths "$__fish_config_dir"
# The diagnostics error codes to disable from the fish-lsp's diagnostics.
# (Options: 1001, 1002, 1003, 1004, 1005, 2001, 2002, 2003, 2004, 3001, 3002,
# 3003, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 5001, 5555,
# 6001, 8001, 9999)
# 6001, 7001, 8001, 9999)
# (Default: [])
set -gx fish_lsp_diagnostic_disable_error_codes

# $fish_lsp_max_diagnostics <NUMBER>
# The maximum number of diagnostics to return per file.
# Using value `0` means unlimited diagnostics.
# To entirely disable diagnostics use `fish_lsp_disabled_handlers`
# (Example Options: 0, 10, 25, 50, 100, 250)
# (Default: 0)
set -gx fish_lsp_max_diagnostics 0

# $fish_lsp_enable_experimental_diagnostics <BOOLEAN>
# Enables the experimental diagnostics feature, using `fish --no-execute`.
# This feature will enable the diagnostic error code 9999 (disabled by default).
Expand Down Expand Up @@ -489,7 +497,7 @@ set -gx fish_lsp_max_background_files 10000
# Should the client receive pop-up window notification requests from the fish-lsp server?
# (Options: 'true', 'false')
# (Default: 'false')
set -gx fish_lsp_show_client_popups false
set -gx fish_lsp_show_client_popups true

# $fish_lsp_single_workspace_support <BOOLEAN>
# Try to limit the fish-lsp's workspace searching to only the current workspace open.
Expand Down Expand Up @@ -519,15 +527,6 @@ set -gx fish_lsp_max_workspace_depth 3
# '~/.local/bin/fish')
# (Default: '')
set -gx fish_lsp_fish_path 'fish'

# $fish_lsp_semantic_handler_type <STRING>
# Controls the semantic token highlighting mode for Fish shell scripts.
# 'off' - Disables semantic token highlighting completely
# 'full' - Full highlighting with all features (commands, keywords, variables, strings, operators, escape sequences, etc.)
# 'mini' - Minimal highlighting (only commands and symbol definitions)
# (Options: 'off', 'full', 'mini')
# (Default: '')
set -gx fish_lsp_semantic_handler_type 'full'
```

</details>
Expand Down Expand Up @@ -604,10 +603,18 @@ set -gx fish_lsp_modifiable_paths
# The diagnostics error codes to disable from the fish-lsp's diagnostics.
# (Options: 1001, 1002, 1003, 1004, 1005, 2001, 2002, 2003, 2004, 3001, 3002,
# 3003, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 5001, 5555,
# 6001, 8001, 9999)
# 6001, 7001, 8001, 9999)
# (Default: [])
set -gx fish_lsp_diagnostic_disable_error_codes

# $fish_lsp_max_diagnostics <NUMBER>
# The maximum number of diagnostics to return per file.
# Using value `0` means unlimited diagnostics.
# To entirely disable diagnostics use `fish_lsp_disabled_handlers`
# (Example Options: 0, 10, 25, 50, 100, 250)
# (Default: 0)
set -gx fish_lsp_max_diagnostics

# $fish_lsp_enable_experimental_diagnostics <BOOLEAN>
# Enables the experimental diagnostics feature, using `fish --no-execute`.
# This feature will enable the diagnostic error code 9999 (disabled by default).
Expand Down Expand Up @@ -682,16 +689,7 @@ set -gx fish_lsp_max_workspace_depth
# (Example Options: 'fish', '/usr/bin/fish', '/usr/.local/bin/fish',
# '~/.local/bin/fish')
# (Default: '')
set -gx fish_lsp_fish_path

# $fish_lsp_semantic_handler_type <STRING>
# Controls the semantic token highlighting mode for Fish shell scripts.
# 'off' - Disables semantic token highlighting completely
# 'full' - Full highlighting with all features (commands, keywords, variables, strings, operators, escape sequences, etc.)
# 'mini' - Minimal highlighting (only commands and symbol definitions)
# (Options: 'off', 'full', 'mini')
# (Default: '')
set -gx fish_lsp_semantic_handler_type
set -gx fish_lsp_fish_path
```

</details>
Expand Down Expand Up @@ -725,13 +723,14 @@ set -gx fish_lsp_semantic_handler_type
"$__fish_config_dir"
],
"fish_lsp_diagnostic_disable_error_codes": [],
"fish_lsp_max_diagnostics": 0,
"fish_lsp_enable_experimental_diagnostics": false,
"fish_lsp_strict_conditional_command_warnings": false,
"fish_lsp_prefer_builtin_fish_commands": false,
"fish_lsp_allow_fish_wrapper_functions": true,
"fish_lsp_require_autoloaded_functions_to_have_description": true,
"fish_lsp_max_background_files": 10000,
"fish_lsp_show_client_popups": false,
"fish_lsp_show_client_popups": true,
"fish_lsp_single_workspace_support": false,
"fish_lsp_ignore_paths": [
"**/.git/**",
Expand All @@ -740,8 +739,7 @@ set -gx fish_lsp_semantic_handler_type
"**/docker/**"
],
"fish_lsp_max_workspace_depth": 3,
"fish_lsp_fish_path": "fish",
"fish_lsp_semantic_handler_type": "full"
"fish_lsp_fish_path": "fish"
}
```

Expand Down Expand Up @@ -926,6 +924,9 @@ Contributions of any kind are welcome! Special thanks to anyone who contributed
<td align="center" valign="top" width="14.28%"><a href="https://teddyhuang-00.github.io/"><img src="https://avatars.githubusercontent.com/u/64199650?v=4?s=50" width="50px;" alt="Nan Huang"/><br /><sub><b>Nan Huang</b></sub></a><br /><a href="https://github.com/ndonfris/fish-lsp/commits?author=TeddyHuang-00" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/unlimitedsola"><img src="https://avatars.githubusercontent.com/u/3632663?v=4?s=50" width="50px;" alt="Sola"/><br /><sub><b>Sola</b></sub></a><br /><a href="https://github.com/ndonfris/fish-lsp/commits?author=unlimitedsola" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jose-elias-alvarez"><img src="https://avatars.githubusercontent.com/u/54108223?v=4?s=50" width="50px;" alt="Jose Alvarez"/><br /><sub><b>Jose Alvarez</b></sub></a><br /><a href="https://github.com/ndonfris/fish-lsp/commits?author=jose-elias-alvarez" title="Code">💻</a></td>
</tr>
</tbody>
</table>

Expand Down
26 changes: 26 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## <small>1.1.1-pre.5 (2025-11-22)</small>

* refactor: rename diagnostics/async-validate.ts --> diagnostics/validate.ts ([1419dc2](https://github.com/ndonfris/fish-lsp/commit/1419dc2))
* chore: bump vite in the npm_and_yarn group across 1 directory (#117) ([e025970](https://github.com/ndonfris/fish-lsp/commit/e025970)), closes [#117](https://github.com/ndonfris/fish-lsp/issues/117)
* chore(1.1.1-pre.5): bump for nightly release ([ccefbef](https://github.com/ndonfris/fish-lsp/commit/ccefbef))


## <small>1.1.1-pre.3 (2025-11-18)</small>

* fix: lints + bump 1.1.1-pre.3 ([f40ce9f](https://github.com/ndonfris/fish-lsp/commit/f40ce9f))
* fix: race condtion where `progress.report()` can be sent early to `async token` creation ([d6d6672](https://github.com/ndonfris/fish-lsp/commit/d6d6672))
* feat: Add Semantic Tokens Support (#113) ([399dba7](https://github.com/ndonfris/fish-lsp/commit/399dba7)), closes [#113](https://github.com/ndonfris/fish-lsp/issues/113)
* feat(src/analyze.ts): update fallback go-to-definition logic ([2f14670](https://github.com/ndonfris/fish-lsp/commit/2f14670))
* feat(src/command.ts): `fish-lsp.showReferences` command opens all unopened reference uris ([63236de](https://github.com/ndonfris/fish-lsp/commit/63236de))
* feat(src/utils/progress-notification.ts): hide `config.fish_lsp_show_client_popups` ([2383e46](https://github.com/ndonfris/fish-lsp/commit/2383e46))
* fix(FishServer.onInitialized()): startup progress reporting in background process ([4ed8067](https://github.com/ndonfris/fish-lsp/commit/4ed8067))
* revert(src/{server,utils/startup}.ts): use existing data from `server.onInitialized()` ([dd2fcd9](https://github.com/ndonfris/fish-lsp/commit/dd2fcd9))
* perf(src/utils/startup.ts): `fish-lsp info --time-startup` matches normal server logs ([a8b8c66](https://github.com/ndonfris/fish-lsp/commit/a8b8c66))
* refactor(src/command.ts): variadic parameter support for execute command handlers ([b934153](https://github.com/ndonfris/fish-lsp/commit/b934153))
* refactor(src/diagnostics/*.ts): simplified diagnostics cache + `7001` unknown command ([d8aaa51](https://github.com/ndonfris/fish-lsp/commit/d8aaa51))
* test(src/utils/file-operations.ts): added `SyncFileHelper.expandNormalize()` + 100% coverage ([5203269](https://github.com/ndonfris/fish-lsp/commit/5203269))
* docs(src/cli.ts): remove deprecated `fish-lsp start --help` handlers ('logger', 'index') ([d648f5f](https://github.com/ndonfris/fish-lsp/commit/d648f5f))
* chore: bump vite in the npm_and_yarn group across 1 directory (#117) ([e025970](https://github.com/ndonfris/fish-lsp/commit/e025970)), closes [#117](https://github.com/ndonfris/fish-lsp/issues/117)



## <small>1.1.1-pre.2 (2025-10-28)</small>

* fix(src/semantic-tokens.ts): reuse def modifier on semantic token ([9d14620](https://github.com/ndonfris/fish-lsp/commit/9d14620))
Expand Down
2 changes: 1 addition & 1 deletion man/fish-lsp.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "FISH\-LSP" "1" "October 2025" "1.1.1-pre.2" "fish-lsp"
.TH "FISH\-LSP" "1" "November 2025" "1.1.1-pre.5" "fish-lsp"
.SH "NAME"
\fBfish-lsp\fR \- A language server for the fish shell
.SH SYNOPSIS
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "ndonfris",
"license": "MIT",
"name": "fish-lsp",
"version": "1.1.1-pre.2",
"version": "1.1.1-pre.5",
"description": "LSP implementation for fish/fish-shell",
"keywords": [
"lsp",
Expand Down Expand Up @@ -86,11 +86,11 @@
"clean:build": "rimraf out lib dist bin .tsbuildinfo",
"clean:packs": "rimraf *.tgz .tsbuildinfo",
"clean:dev-completions": "fish ./scripts/dev-complete.fish --uninstall",
"test": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test vitest",
"test:run": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test vitest --run",
"test:coverage": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test vitest --coverage",
"test:coverage:ui": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test vitest --ui --open --coverage",
"test:coverage:run": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test vitest --coverage --run",
"test": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test USER=test_user vitest",
"test:run": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test USER=test_user vitest --run",
"test:coverage": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test USER=test_user vitest --coverage",
"test:coverage:ui": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test USER=test_user vitest --ui --open --coverage",
"test:coverage:run": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test USER=test_user vitest --coverage --run",
"publish-nightly": "fish ./scripts/publish-nightly.fish",
"publish-and-release": "fish ./scripts/publish-and-release.fish",
"refactor": "knip",
Expand Down Expand Up @@ -240,5 +240,8 @@
"vite-plugin-wasm": "^3.5.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4"
},
"peerDependencies": {
"glob": "11.1.0"
}
}
Loading