Skip to content
kitagryPublic

About

OPA Rego language server

Topics

Resources

Stars

40 stars

Watchers

2 watching

Forks

Latest commit

 

History

194 Commits

Folders and files

Repository files navigation

regols

OPA rego language server

regols

Install

MacOS

brew install kitagry/tap/regols

Other

Download from Release page.

Or, you can build as following.

go install github.com/kitagry/regols@latest

Configuration

Configuration for nvim-lspconfig

local nvim_lsp = require'lspconfig'
local configs = require'lspconfig.configs'

if not configs.regols then
  configs.regols = {
    default_config = {
      cmd = {'regols'};
      filetypes = { 'rego' };
      root_dir = nvim_lsp.util.root_pattern(".git");
    }
  }
end
configs.regols.setup{}

Specs

  • textDocument/publishDiagnostics
  • textDocument/formatting
  • textDocument/definition
  • textDocument/completion
  • textDocument/hover

About

OPA Rego language server

Topics

Resources

Stars

40 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages