File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ Install the [HDL Checker VSCode client][hdl_checker_vscode] on VS Code.
5858
5959#### Using [ dense-analysis/ale] [ vim_ale ]
6060
61- See (PR [ #2804 ] [ vim_ale_pr ] ), once it gets merged, ALE should support HDL Checker
62- out of the box.
61+ ALE supports HDL Checker out of the box.
6362
6463#### Using [ coc.nvim] [ vim_coc_nvim ]
6564
@@ -83,6 +82,26 @@ this to your [coc.nvim configuration file][vim_coc_nvim_config_file]:
8382 }
8483}
8584```
85+ #### Using NeoVim's native language server
86+
87+ ``` vim
88+ lua << EOF
89+ local nvim_lsp = require'nvim_lsp'
90+ -- Only define once
91+ if not nvim_lsp.hdl_checker then
92+ require'nvim_lsp/configs'.hdl_checker = {
93+ default_config = {
94+ cmd = {"hdl_checker", "--lsp", };
95+ filetypes = {"vhdl", "verilog", "systemverilog"};
96+ root_dir = function(fname)
97+ return nvim_lsp.util.find_git_ancestor(fname) or vim.loop.os_homedir()
98+ end;
99+ settings = {};
100+ };
101+ }
102+ end
103+ EOF
104+ ```
86105
87106#### Using [ autozimu/LanguageClient-neovim] [ vim_lc_nvim ]
88107
You can’t perform that action at this time.
0 commit comments