summaryrefslogtreecommitdiff
path: root/nvim/lsp/ghdl_ls.lua
diff options
context:
space:
mode:
authoranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
committeranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
commitb7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch)
tree366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/ghdl_ls.lua
Nixos
Diffstat (limited to 'nvim/lsp/ghdl_ls.lua')
-rwxr-xr-xnvim/lsp/ghdl_ls.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/nvim/lsp/ghdl_ls.lua b/nvim/lsp/ghdl_ls.lua
new file mode 100755
index 0000000..12a394a
--- /dev/null
+++ b/nvim/lsp/ghdl_ls.lua
@@ -0,0 +1,13 @@
+---@brief
+---
+--- https://github.com/ghdl/ghdl-language-server
+---
+--- A language server for VHDL, using ghdl as its backend.
+---
+--- `ghdl-ls` is part of pyghdl, for installation instructions see
+--- [the upstream README](https://github.com/ghdl/ghdl/tree/master/pyGHDL/lsp).
+return {
+ cmd = { 'ghdl-ls' },
+ filetypes = { 'vhdl' },
+ root_markers = { 'hdl-prj.json', '.git' },
+}