-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Describe the bug
nu --ide-ast doesn't highlight some tokens properly

How to reproduce
Create a .nu file with a content below and open it in vscode:
mkdir test; cd test # cd is not highlighted
def 'abc' [] {} # def and 'abc' are incorrect
def abcd [] {} # all is correct here
Expected behavior
I expected nu to highlight ; cd, and def 'abc' properly
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.85.0 |
| branch | |
| commit_hash | |
| build_os | macos-aarch64 |
| build_target | aarch64-apple-darwin |
| rust_version | rustc 1.70.0 (90c541806 2023-05-31) |
| rust_channel | stable-aarch64-apple-darwin |
| cargo_version | cargo 1.70.0 (ec8a8a0ca 2023-04-25) |
| build_time | 2023-09-23 05:58:06 +00:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | dataframe, default, sqlite, trash, which, zip |
| installed_plugins |
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels