aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/ghdl_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/ghdl_ls.lua')
-rw-r--r--lsp/ghdl_ls.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/lsp/ghdl_ls.lua b/lsp/ghdl_ls.lua
new file mode 100644
index 00000000..4216dbeb
--- /dev/null
+++ b/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' },
+}