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
|
client.server_capabilities.document_formatting = false
|
||||||
end,
|
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
|
# formatter
|
||||||
prettierd
|
prettierd
|
||||||
black
|
black
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
|
|
@ -86,6 +87,10 @@ in
|
||||||
taplo
|
taplo
|
||||||
zls
|
zls
|
||||||
vscode-js-debug
|
vscode-js-debug
|
||||||
|
|
||||||
|
# SystemVerilog
|
||||||
|
svls
|
||||||
|
svlint
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
|
@ -400,6 +405,8 @@ in
|
||||||
vue
|
vue
|
||||||
yaml
|
yaml
|
||||||
zig
|
zig
|
||||||
|
|
||||||
|
verilog
|
||||||
]
|
]
|
||||||
)).dependencies;
|
)).dependencies;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue