pragmagic / vscode-nim

An extension for VS Code which provides support for the Nim language.
Other
237 stars 37 forks source link

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

Open ghost opened 6 years ago

ghost commented 6 years ago
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 6 years ago

Pragmas should in fact have separate highlighting from everything else.