aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/pylyzer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/pylyzer.lua')
-rw-r--r--lsp/pylyzer.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/lsp/pylyzer.lua b/lsp/pylyzer.lua
new file mode 100644
index 00000000..6d69ba06
--- /dev/null
+++ b/lsp/pylyzer.lua
@@ -0,0 +1,25 @@
+---@brief
+---
+---https://github.com/mtshiba/pylyzer
+--
+-- `pylyzer`, a fast static code analyzer & language server for Python.
+return {
+ cmd = { 'pylyzer', '--server' },
+ filetypes = { 'python' },
+ root_markers = {
+ 'setup.py',
+ 'tox.ini',
+ 'requirements.txt',
+ 'Pipfile',
+ 'pyproject.toml',
+ '.git',
+ },
+ settings = {
+ python = {
+ diagnostics = true,
+ inlayHints = true,
+ smartCompletion = true,
+ checkOnType = false,
+ },
+ },
+}