summaryrefslogtreecommitdiff
path: root/nvim/lsp/ghdl_ls.lua
diff options
context:
space:
mode:
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' },
+}