global _start shows syntax error? #291
-
|
Currently trying out this LSP in Neovim but I can't write any asm (every first line shows syntax error), here's my .asm-lsp.toml: Am I missing something? |
Beta Was this translation helpful? Give feedback.
Answered by
daveshenal
Jun 22, 2026
Replies: 1 comment
-
|
Might be missing the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WillLillis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Might be missing the
compilersetting... without it, asm-lsp defaults to gcc for diagnostics, and gcc can't parse NASM syntax (which would explain a false error onglobal _start). Try adding under[opts]:compiler = "nasm".