We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28d669b commit eab946cCopy full SHA for eab946c
1 file changed
fnl/mods/lsp/lsp.fnl
@@ -205,6 +205,10 @@
205
:live_mode true}}}}
206
:plugins {:rope_autoimport {:enabled true}}}
207
:pyright {:filetypes [:python]
208
+ :before_init (fn [_ config]
209
+ (let [python (.. config.root_dir "/.venv/bin/python")]
210
+ (when (= 1 (vim.fn.executable python))
211
+ (tset config.settings.python :pythonPath python))))
212
:settings {:python {:analysis {:autoSearchPaths true
213
:extraPaths ["src"]
214
:useLibraryCodeForTypes true
0 commit comments