nim-lang / NimLime

The official Nim programming language plugin for Sublime Text
MIT License
132 stars 34 forks source link

[TODO] syntax highlight confused by asm """ """ and shows remainder as string #96

Closed timotheecour closed 5 years ago

timotheecour commented 6 years ago

https://github.com/nim-lang/Nim/blob/devel/lib/system.nim at a6f248f3d09f18daab67e25468760f722bb24201

image

Varriount commented 5 years ago

No longer an issue.

timotheecour commented 5 years ago

@Varriount the problem seems to be this line in $nim_D/NimLime/Syntaxes/Nim.YAML-tmLanguage:

- {include: source.asm}

if i comment it out, it works perhaps source.asm needs to be somewhere for it to work? maybe another package you've installed for getting asm syntax and that should be a dependency? anyhow, the workaround is to just comment it and rebuild $nim_D/NimLime/Syntaxes/Nim.tmLanguage using packagedev