Install for Neovim
With lazy.nvim:
lua
{
"lazyverilog/LazyVerilog",
submodules = false,
ft = { "systemverilog", "verilog" },
config = function()
require("lazyverilog").setup()
end,
}Open a .sv file. The first launch downloads the server.
Options
Pass options to setup():
lua
require("lazyverilog").setup({
cmd = "/path/to/lazyverilog-lsp",
folding = true,
inlay_hints = true,
})| Option | Default | Effect |
|---|---|---|
cmd | auto | Use this server binary instead of PATH or the managed download |
folding | true | Fold from the server's folding ranges |
inlay_hints | true | Show inlay hints |
Set folding or inlay_hints to false for very large files or a slow machine.
Next: Usage in Neovim.