Closed nagolove closed 2 months ago
Hi! While we're planning on adding support for inline diagnostics (#85) in the (hopefully) near future, it's not something the server currently handles. Are there any other plugins that could be issuing these messages in your config (i.e. are there any other active plugins shown when you run :LspInfo
)? For reference, here's what the file looks like for me in Neovim 0.10.0 (zoomed in for readability)
:LspInfo
output:
Press q or <Esc> to close this window. Press <Tab> to view server doc.
Language client log: /home/nagolove/.local/state/nvim/lsp.log
Detected filetype: asm
1 client(s) attached to this buffer:
Client: asm_lsp (id: 1, bufnr: [1])
filetypes: asm, nasm
autostart: true
root directory: /home/nagolove/etudes_asm
cmd: /home/nagolove/.cargo/bin/asm-lsp
Configured servers list: asm_lsp, clangd
I solved this problem with workaround using AT&T asm syntax and gas
assembler instead of nasm
.
:LspInfo
output:Press q or <Esc> to close this window. Press <Tab> to view server doc. Language client log: /home/nagolove/.local/state/nvim/lsp.log Detected filetype: asm 1 client(s) attached to this buffer: Client: asm_lsp (id: 1, bufnr: [1]) filetypes: asm, nasm autostart: true root directory: /home/nagolove/etudes_asm cmd: /home/nagolove/.cargo/bin/asm-lsp Configured servers list: asm_lsp, clangd
I solved this problem with workaround using AT&T asm syntax and
gas
assembler instead ofnasm
.
Gotcha, looks like the diagnostics are from clangd then. Glad you were able to find a workaround!
Hello! I have troubles with proper server working. Server was installed by
cargo install asm-lsp
inNVIM v0.10.0
setup. nvim config:Project directory put in git repo. Proper nasm syntax source file that I edited:
Strange result Could anybody help with plugin setup?