Editors & LSP
lucisv-server is a synchronous language server over stdio. It keeps open buffers as in-memory overlays, updates the workspace index incrementally, and returns the same formatting and lint behavior as the CLI.
VS Code
Section titled “VS Code”Install the .vsix attached to a lucisv release:
code --install-extension lucisv-0.9.0.vsixThe extension registers Verilog/SystemVerilog file types, syntax highlighting, snippets, color settings, configuration, and starts lucisv-server from PATH by default.
Neovim 0.11+
Section titled “Neovim 0.11+”vim.filetype.add({ extension = { v = 'verilog', vh = 'verilog', sv = 'systemverilog', svh = 'systemverilog'} })
vim.lsp.config('lucisv', { cmd = { 'lucisv-server' }, filetypes = { 'verilog', 'systemverilog' }, root_markers = { 'lucisv.toml', '.lucisv.toml', '.git' },})vim.lsp.enable('lucisv')Vim 9, nvim-lspconfig, and coc.nvim can launch the same binary with the same filetypes and root markers.
Workspace indexing
Section titled “Workspace indexing”The server selects files in this order:
- The
lucisv.filelisteditor setting, when set. - The
filelistkey in project configuration. - A recursive workspace-folder walk.
- With no workspace folder, the open file’s directory.
Open buffers are always overlaid on top of the disk index. File watching keeps disk-backed symbols fresh; a broken filelist warns and falls back to the folder walk so the index is never silently empty.
Smoke test
Section titled “Smoke test”The repository includes a protocol-level check that starts the server exactly as the VS Code extension does:
node editors/vscode/smoke.js target/release/lucisv-serverSee Language tools for every advertised request and editor feature.