Folders with brackets (think NextJS) and possibly other symbols error out deno lsp
with InvalidParams: unexpected character at index XX
#11888
Labels
deno lsp
with InvalidParams: unexpected character at index XX
#11888
Summary
This is just a copy-paste from the original issue I opened at denoland/deno#26098.
I was trying out the Next tutorial from the docs and I ran into an error with
deno lsp
as soon as I made a folder with brackets for the Next route, i.e.api/dinosaurs/[dinosaurs]/route.ts
:I'm using
helix
. I assume this is a problem withdeno lsp
, but if it isn't let me know, thanks.I tried with a bare
lsp
configuration inhelix
:Reproduction Steps
cd learn-deno-nextjs
mkdir .helix
hx .helix/languages.toml
& paste the contents:mkdir "src/api/dinosaur/[dinosaur]"
RUST_BACKTRACE=1 hx -vv "src/api/dinosaur/[dinosaur]/route.ts"
deno lsp
error.Helix log
~/.cache/helix/helix.log
Platform
Ubuntu 24.04.1 LTS
Terminal Emulator
kitty 0.36.4
Installation Method
zap appimage package manager - effectively the appimage from release pages
Helix Version
helix 24.7 (079f544)
The text was updated successfully, but these errors were encountered: