A simple implementation of the Language Server Protocol for NASM
Install
-
Vim/NeoVim with LanguageClient:
- Clone this repository with
git clone https://github.com/Clinery1/nasm-lsp.git
- Build with rust nightly (untested with stable) in release mode (
--release
) - Copy the
target/releases/nasm-lsp
to the directory of your choice - Add the line
let g:LanguageClient_serverCommands = {'nasm': ['/path/to/nasm-lsp']}
to your.vimrc
orinit.vim
- Clone this repository with
-
Recommendation:
- Add the line
autocmd BufNewFile,BufRead *.asm set ft=nasm
to your.vimrc
orinit.vim
to automatically change*.asm
tonasm
filetype
- Add the line
The entirety of this project is licensed under the BSD 3 clause liscense. If there are any questions email me: [email protected]
THIS IS A WORK IN PROGRESS, USE AT YOUR OWN RISK