diff options
| author | 2025-12-08 14:01:09 +0300 | |
|---|---|---|
| committer | 2025-12-08 14:01:09 +0300 | |
| commit | 2bb629d846c6060dc620c909aec79e5dd1ab1942 (patch) | |
| tree | e35f533451066557ffbac9bbf4c9d952e01ada11 | |
| parent | feat: add `basedpyright` for Python files (diff) | |
| download | neovim-configuration-master.tar.gz neovim-configuration-master.tar.bz2 neovim-configuration-master.tar.lz neovim-configuration-master.tar.xz neovim-configuration-master.tar.zst neovim-configuration-master.zip | |
| -rw-r--r-- | flake.nix | 5 | ||||
| -rw-r--r-- | lsp/verible.lua | 8 | ||||
| -rw-r--r-- | lua/config/lsp.lua | 2 | ||||
| -rw-r--r-- | lua/config/plugins/formatting.lua | 2 |
4 files changed, 17 insertions, 0 deletions
@@ -171,6 +171,11 @@ typescript-language-server ]; + verilog = [ + verible + verilator + ]; + debug = [ lldb ]; diff --git a/lsp/verible.lua b/lsp/verible.lua new file mode 100644 index 0000000..2361b8f --- /dev/null +++ b/lsp/verible.lua @@ -0,0 +1,8 @@ +return { + cmd = { "verible-verilog-ls" }, + filetypes = { "verilog", "systemverilog" }, + root_markers = { + "verilator.f", + ".git", + }, +} diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 8596654..71f3dba 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -18,6 +18,8 @@ vim.lsp.enable({ "rust-analyzer", + "verible", + "angular-language-server", "biome", "typescript-language-server", diff --git a/lua/config/plugins/formatting.lua b/lua/config/plugins/formatting.lua index 98bbe06..93b7db7 100644 --- a/lua/config/plugins/formatting.lua +++ b/lua/config/plugins/formatting.lua @@ -10,6 +10,8 @@ return { lua = { "stylua" }, nix = { "nixfmt" }, rust = { "rustfmt", lsp_format = "fallback" }, + verilog = { "verible" }, + systemverilog = { "verible" }, html = { "prettierd" }, htmlangular = { "prettierd" }, |
