aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/pyre.lua
blob: 8701f39b9f6d7044d6777a08e91fc7ab031fe010 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local configs = require 'lspconfig/configs'
local util = require 'lspconfig/util'

configs.pyre = {
  default_config = {
    cmd = { 'pyre', 'persistent' },
    filetypes = { 'python' },
    root_dir = util.root_pattern '.pyre_configuration',
  },
  docs = {
    description = [[
https://pyre-check.org/

`pyre` a static type checker for Python 3.

`pyre` offers an extremely limited featureset. It currently only supports diagnostics,
which are triggered on save.

Do not report issues for missing features in `pyre` to `lspconfig`.

]],
  },
}