feat: verilog lsp
This commit is contained in:
parent
1e9417785d
commit
b655f6ad4e
2 changed files with 14 additions and 0 deletions
|
|
@ -96,6 +96,13 @@ return {
|
|||
client.server_capabilities.document_formatting = false
|
||||
end,
|
||||
},
|
||||
svls = {
|
||||
root_dir = function(fname)
|
||||
return vim.fs.dirname(vim.fs.find(".git", { path = fname, upward = true })[1])
|
||||
end,
|
||||
cmd = { "svls" },
|
||||
filetypes = { "verilog", "systemverilog" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ in
|
|||
# formatter
|
||||
prettierd
|
||||
black
|
||||
|
||||
];
|
||||
|
||||
programs.neovim = {
|
||||
|
|
@ -86,6 +87,10 @@ in
|
|||
taplo
|
||||
zls
|
||||
vscode-js-debug
|
||||
|
||||
# SystemVerilog
|
||||
svls
|
||||
svlint
|
||||
];
|
||||
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
|
|
@ -400,6 +405,8 @@ in
|
|||
vue
|
||||
yaml
|
||||
zig
|
||||
|
||||
verilog
|
||||
]
|
||||
)).dependencies;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue