mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
style(none-ls.lua): remove print statements for cleaner code and better readability
This commit is contained in:
@@ -18,13 +18,11 @@ function ResolvePythonEnvironment()
|
|||||||
if virtual == nil then
|
if virtual == nil then
|
||||||
-- Check if poetry environment exists
|
-- Check if poetry environment exists
|
||||||
|
|
||||||
print("No virtual environment detected, using system python")
|
|
||||||
return {
|
return {
|
||||||
"--python-executable", python
|
"--python-executable", python
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
print("Using virtual environment: " .. virtual)
|
|
||||||
return {
|
return {
|
||||||
"--python-executable", virtual .. "/bin/python3"
|
"--python-executable", virtual .. "/bin/python3"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user