nushell/crates/nu-lsp/src
zc he 24dba9dc53
fix(lsp): regression of semantic tokens of module-prefixed commands (#15603)
# Description

Fixes a regression caused by #15567, where I made the space detection in
command names switched from `get_span_content` to `get_decl().name()`,
which is slightly faster but it won't work in some cases:

e.g.
```nushell
use std/assert
assert equal
```

Reverted in this PR.

# User-Facing Changes

None

# Tests + Formatting

Refined

# After Submitting
2025-04-19 06:02:49 -05:00
..
ast.rs refactor(lsp): flat_map with mutable accumulator (#15567) 2025-04-15 07:21:23 -05:00
completion.rs fix(lsp): a panic caused by completion with decl_id out of range (#15576) 2025-04-16 06:43:21 -05:00
diagnostics.rs fix(lsp): more accurate PWD: from env -> parent dir of current file (#15470) 2025-04-05 08:41:34 -05:00
goto.rs fix(lsp): several edge cases of inaccurate references (#15523) 2025-04-09 21:15:35 -05:00
hints.rs refactor(lsp): flat_map with mutable accumulator (#15567) 2025-04-15 07:21:23 -05:00
hover.rs fix(lsp): several edge cases of inaccurate references (#15523) 2025-04-09 21:15:35 -05:00
lib.rs fix(lsp): several edge cases of inaccurate references (#15523) 2025-04-09 21:15:35 -05:00
notification.rs fix(lsp): several edge cases of inaccurate references (#15523) 2025-04-09 21:15:35 -05:00
semantic_tokens.rs fix(lsp): regression of semantic tokens of module-prefixed commands (#15603) 2025-04-19 06:02:49 -05:00
signature.rs refactor(lsp): align markdown doc string with output of --help (#15508) 2025-04-06 08:37:59 -05:00
symbols.rs fix(lsp): several edge cases of inaccurate references (#15523) 2025-04-09 21:15:35 -05:00
workspace.rs fix(lsp): more accurate command name highlight/rename (#15540) 2025-04-10 06:26:43 -05:00