diff options
Diffstat (limited to '.config/nvim/lsp/ghdl_ls.lua')
-rw-r--r-- | .config/nvim/lsp/ghdl_ls.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/nvim/lsp/ghdl_ls.lua b/.config/nvim/lsp/ghdl_ls.lua new file mode 100644 index 0000000..3927cfe --- /dev/null +++ b/.config/nvim/lsp/ghdl_ls.lua @@ -0,0 +1,15 @@ +---@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). + +---@type vim.lsp.Config +return { + cmd = { 'ghdl-ls' }, + filetypes = { 'vhdl' }, + root_markers = { 'hdl-prj.json', '.git' }, +} |