diff options
| author | Brandon Bennett <brandon@brbe.me> | 2021-11-15 01:41:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 00:41:48 -0800 |
| commit | 2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec (patch) | |
| tree | 626ef826f7a96f199d2d0c817224fc725ddb58d7 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec.tar nvim-lspconfig-2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec.tar.gz nvim-lspconfig-2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec.tar.bz2 nvim-lspconfig-2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec.tar.lz nvim-lspconfig-2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec.tar.xz nvim-lspconfig-2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec.tar.zst nvim-lspconfig-2ef3e3401bdb34a2ad88f78f5ca8130e6ab3bfec.zip | |
feat: add pyre language server. (#1139)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/pyre.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lua/lspconfig/pyre.lua b/lua/lspconfig/pyre.lua new file mode 100644 index 00000000..8701f39b --- /dev/null +++ b/lua/lspconfig/pyre.lua @@ -0,0 +1,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`. + +]], + }, +} |
