Skip to content

Commit

Permalink
docs: update server_configurations.md
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
github-actions committed Feb 21, 2023
1 parent e2a01be commit 91998ce
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
38 changes: 38 additions & 0 deletions doc/server_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [vuels](#vuels)
- [wgsl_analyzer](#wgsl_analyzer)
- [yamlls](#yamlls)
- [yls](#yls)
- [zk](#zk)
- [zls](#zls)

Expand Down Expand Up @@ -9297,6 +9298,43 @@ require'lspconfig'.yamlls.setup{}
```


## yls

https://pypi.org/project/yls-yara/

An YLS plugin adding YARA linting capabilities.

This plugin runs yara.compile on every save, parses the errors, and returns list of diagnostic messages.

Language Server: https://github.com/avast/yls



**Snippet to enable the language server:**
```lua
require'lspconfig'.yls.setup{}
```


**Default values:**
- `cmd` :
```lua
{ "yls", "-vv" }
```
- `filetypes` :
```lua
{ "yar", "yara" }
```
- `root_dir` :
```lua
see source file
```
- `single_file_support` :
```lua
true
```


## zk

https://github.com/mickael-menu/zk
Expand Down
38 changes: 38 additions & 0 deletions doc/server_configurations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running
- [vuels](#vuels)
- [wgsl_analyzer](#wgsl_analyzer)
- [yamlls](#yamlls)
- [yls](#yls)
- [zk](#zk)
- [zls](#zls)

Expand Down Expand Up @@ -9297,6 +9298,43 @@ require'lspconfig'.yamlls.setup{}
```


## yls

https://pypi.org/project/yls-yara/

An YLS plugin adding YARA linting capabilities.

This plugin runs yara.compile on every save, parses the errors, and returns list of diagnostic messages.

Language Server: https://github.com/avast/yls



**Snippet to enable the language server:**
```lua
require'lspconfig'.yls.setup{}
```


**Default values:**
- `cmd` :
```lua
{ "yls", "-vv" }
```
- `filetypes` :
```lua
{ "yar", "yara" }
```
- `root_dir` :
```lua
see source file
```
- `single_file_support` :
```lua
true
```


## zk

https://github.com/mickael-menu/zk
Expand Down

0 comments on commit 91998ce

Please sign in to comment.