Closed AchmadFathoni closed 2 months ago
as:theme
syntax was recognized by nix as URL literal. It is currently deprecated and the correct fix is quote it with double quotes.
I suppose you are using a outdated version of nixd, because latest stable release will suggest you the correct fix:
I use nixd 2.1.2 from NixOS 24.05. Double quote works, thank you @inclyc
Describe the bug The nixd gives "unexpected text" error indication on
as:theme depth:1
given this example config from official NixOS Zsh WikiLogs (Required)
Configuration
Using nixd within nivm-lspconfig
Expected behavior This legal syntax should not be marked as error.