aboutsummaryrefslogtreecommitdiff
path: root/lsp/pyright.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/pyright.lua')
-rw-r--r--lsp/pyright.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/lsp/pyright.lua b/lsp/pyright.lua
new file mode 100644
index 0000000..b7e9a2a
--- /dev/null
+++ b/lsp/pyright.lua
@@ -0,0 +1,14 @@
+return {
+ single_file_support = true,
+ settings = {
+ python = {
+ analysis = {
+ typeCheckingMode = true,
+ reportUnusedImport = true,
+ autoSearchPaths = true,
+ diagnosticMode = "workspace",
+ useLibraryCodeForTypes = true,
+ },
+ },
+ },
+}