diff options
Diffstat (limited to 'lsp/pyright.lua')
| -rw-r--r-- | lsp/pyright.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lsp/pyright.lua b/lsp/pyright.lua new file mode 100644 index 0000000..f89d41f --- /dev/null +++ b/lsp/pyright.lua @@ -0,0 +1,12 @@ +return { + cmd = { "pyright-langserver", "--stdio" }, + filetypes = { "python" }, + root_markers = { "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", "pyrightconfig.json" }, + settings = { + python = { + formatting = { + provider = "none" + } + } + } +}
\ No newline at end of file |
