diff options
-rw-r--r-- | settings.json | 6 | ||||
-rw-r--r-- | settings/svls.vim | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/settings.json b/settings.json index b99e94a..0b417c7 100644 --- a/settings.json +++ b/settings.json @@ -435,6 +435,12 @@ } } ], + "systemverilog": [ + { + "command": "svls", + "requires": [] + } + ], "terraform": [ { "command": "terraform-lsp", diff --git a/settings/svls.vim b/settings/svls.vim new file mode 100644 index 0000000..99ad888 --- /dev/null +++ b/settings/svls.vim @@ -0,0 +1,13 @@ +augroup vimlsp_settings_svls + au! + LspRegisterServer { + \ 'name': 'svls', + \ 'cmd': {server_info->lsp_settings#get('svls', 'cmd', [lsp_settings#exec_path('svls')])}, + \ 'root_uri':{server_info->lsp_settings#get('svls', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))}, + \ 'initialization_options': lsp_settings#get('svls', 'initialization_options', v:null), + \ 'whitelist': lsp_settings#get('svls', 'whitelist', ['systemverilog']), + \ 'blacklist': lsp_settings#get('svls', 'blacklist', []), + \ 'config': lsp_settings#get('svls', 'config', {}), + \ 'workspace_config': lsp_settings#get('svls', 'workspace_config', {}), + \ } +augroup END |