Skip to content

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,
})
OptionDefaultEffect
cmdautoUse this server binary instead of PATH or the managed download
foldingtrueFold from the server's folding ranges
inlay_hintstrueShow inlay hints

Set folding or inlay_hints to false for very large files or a slow machine.

Next: Usage in Neovim.

Released under the MIT License. Themed with Catppuccin.