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