mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(extras): rego language support
It took a while, but finally we can work with [OPA](https://www.openpolicyagent.org/) like a BOSS in neovim. Linking some PR-s that had to land in the past couple of months to make this config as simple as it is now: - treesitter commentstring support in https://github.com/JoosepAlviste/nvim-ts-context-commentstring/pull/108 - regols support in nvim-lspconfig: https://github.com/neovim/nvim-lspconfig/pull/2721 - regols support in mason-registry: https://github.com/mason-org/mason-registry/pull/4896 - regols support in mason-lspconfig: https://github.com/williamboman/mason-lspconfig.nvim/pull/403 - regal support in nvim-lspconfig: https://github.com/neovim/nvim-lspconfig/pull/3071 - regal support in mason-registry: https://github.com/mason-org/mason-registry/pull/5717 - regal support in mason-lspconfig: https://github.com/williamboman/mason-lspconfig.nvim/pull/426 Signed-off-by: Zoltán Reegn <zoltan.reegn@gmail.com>
This commit is contained in:
parent
12818a6cb4
commit
752ee94e05
1 changed files with 20 additions and 0 deletions
20
lua/lazyvim/plugins/extras/lang/rego.lua
Normal file
20
lua/lazyvim/plugins/extras/lang/rego.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
return {
|
||||||
|
recommended = {
|
||||||
|
ft = "rego",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
opts = {
|
||||||
|
servers = {
|
||||||
|
regols = {},
|
||||||
|
regal = {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = { "rego" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue