mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
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> ## Description <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> ## Related Issue(s) <!-- If this PR fixes any issues, please link to the issue here. - Fixes #<issue_number> --> ## Screenshots <!-- Add screenshots of the changes if applicable. --> ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. Signed-off-by: Zoltán Reegn <zoltan.reegn@gmail.com>
20 lines
282 B
Lua
20 lines
282 B
Lua
return {
|
|
recommended = {
|
|
ft = "rego",
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = {
|
|
regols = {},
|
|
regal = {},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = {
|
|
ensure_installed = { "rego" },
|
|
},
|
|
},
|
|
}
|