summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/pyre.lua
diff options
context:
space:
mode:
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/pyre.lua')
-rw-r--r--start/lspconfig-0.1.8/lua/lspconfig/server_configurations/pyre.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/pyre.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/pyre.lua
new file mode 100644
index 0000000..5c2f8fb
--- /dev/null
+++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/pyre.lua
@@ -0,0 +1,22 @@
+local util = require 'lspconfig.util'
+
+return {
+ 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`.
+
+]],
+ },
+}