Skip to content

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.

Install the .vsix attached to a lucisv release:

Terminal window
code --install-extension lucisv-0.9.0.vsix

The extension registers Verilog/SystemVerilog file types, syntax highlighting, snippets, color settings, configuration, and starts lucisv-server from PATH by default.

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.

The server selects files in this order:

  1. The lucisv.filelist editor setting, when set.
  2. The filelist key in project configuration.
  3. A recursive workspace-folder walk.
  4. 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.

The repository includes a protocol-level check that starts the server exactly as the VS Code extension does:

Terminal window
node editors/vscode/smoke.js target/release/lucisv-server

See Language tools for every advertised request and editor feature.