Skip to content

Commit

Permalink
docs/editors: fix section nesting for neovim
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Renatus <stephan@styra.com>
  • Loading branch information
srenatus committed Sep 2, 2024
1 parent a9d4e2f commit ae0708a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/editor-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ by Regal.

## Neovim

There are a number of different plugins available for Neovim which integrate
There are a number of different plugins available for [Neovim](https://neovim.io/) which integrate
with language servers using the Language Server Protocol.

Generally, the Regal binary should be [installed](https://docs.styra.com/regal#getting-started)
Expand All @@ -40,7 +40,7 @@ Regal language server. Use the configuration below to configure Regal:
require('lspconfig').regal.setup()
```

## none-ls
### none-ls

[none-ls](https://github.com/nvimtools/none-ls.nvim) - Use Neovim as a
language server to inject LSP diagnostics, code actions, and more via Lua.
Expand Down Expand Up @@ -71,7 +71,7 @@ Example of the diagnostics in as shown in the UI:

![regal in none-ls](./assets/editors-neovim.png)

## nvim-cmp
### nvim-cmp

[nvim-cmp](https://github.com/hrsh7th/nvim-cmp) supports the adding of language
servers as a source.
Expand All @@ -80,7 +80,7 @@ To use Regal with `nvim-cmp`, it is recommended that you use
the [`nvim-lspconfig` source](https://github.com/hrsh7th/cmp-nvim-lsp) and
follow the instructions above to configure `nvim-lspconfig`.

## Other plugins
### Other plugins

To see live linting of Rego, your plugin must support
[`textDocument/diagnostic`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_diagnostic)
Expand Down

0 comments on commit ae0708a

Please sign in to comment.