Editor integration (LSP)
FantASM includes a built-in Language Server (LSP), bringing real-time assistance to any editor that speaks the Language Server Protocol — VS Code, Zed, Vim/Neovim and others.
Features
- Diagnostics — errors and warnings as you type, matching the assembler’s diagnostics.
- Hover — inline information for instructions and symbols.
- Completion — code completion for mnemonics and labels.
Starting the server
Run FantASM with the --lsp flag to start the language server:
fantasm --lspThe LSP server is provided by the lsp feature; make sure your build includes it (the prebuilt binaries do).
Editor setup
Point your editor’s LSP client at the fantasm --lsp command for Z80 assembly files. Per-editor configuration snippets (VS Code, Zed, Neovim) will be added here.