SystemVerilog language server
Download from release page, and extract to the directory in PATH.
You can install from snapcraft
sudo snap install svls
You can install by cargo.
cargo install svls
svls uses .svls.toml
at the root of repository.
The example of .svls.toml
is below:
```toml [verilog] include_paths = ["src/header"]
[option] linter = true ```
[verilog]
sectioninclude_paths
is include paths from the root of repository.
[option]
sectionlinter
shows whether linter feature is enabled.
Linter uses .svlint.toml
at the root of repository.
If .svlint.toml
can't be used, all lint rules are enabled.
Please see svlint#configuration for the detailed information.
Please install svls-vscode extension from marketplace.
viml
let g:LanguageClient_serverCommands = {
\ 'systemverilog': ['svls'],
\ }
viml
if executable('svls')
au User lsp_setup call lsp#register_server({
\ 'name': 'svls',
\ 'cmd': {server_info->['svls']},
\ 'whitelist': ['systemverilog'],
\ })
endif