pragmagic/vscode-nim

No syntax highlighting for proc/template/macro pragmas without parentheses and return type.

Opened this issue · 1 comments

template hello {.dirty.} = 
  echo "hello world"

hello()

In this code {.dirty.} is not highlighted at all:
image
Adding return type helps:
image
Tested on Windows 10 x64 with vscode-nim 0.5.27 and VSCode Insiders 1.17.0

dom96 commented

Pragmas should in fact have separate highlighting from everything else.