nvim: Remove debug printing of activated python venv
Removed notification on activating a python venv. It should just work, transparent to the user and we do not need a big ol' notification each time we enter a file.
This commit is contained in:
parent
bfb62e6783
commit
065488e57d
1 changed files with 6 additions and 6 deletions
|
@ -133,7 +133,7 @@ lspconfig.pyright.setup({
|
||||||
if python_path == nil then
|
if python_path == nil then
|
||||||
python_path, _ = require("util").get_python_venv(client.config.root_dir)
|
python_path, _ = require("util").get_python_venv(client.config.root_dir)
|
||||||
end
|
end
|
||||||
print(string.format("[PYTHON VENV]: %s", vim.inspect(python_path)))
|
-- print(string.format("[PYTHON VENV]: %s", vim.inspect(python_path)))
|
||||||
client.config.settings.python.pythonPath = python_path
|
client.config.settings.python.pythonPath = python_path
|
||||||
on_attach(client, bufnr)
|
on_attach(client, bufnr)
|
||||||
end,
|
end,
|
||||||
|
@ -143,7 +143,7 @@ lspconfig.ruff_lsp.setup({
|
||||||
if python_path == nil then
|
if python_path == nil then
|
||||||
python_path, _ = require("util").get_python_venv(client.config.root_dir)
|
python_path, _ = require("util").get_python_venv(client.config.root_dir)
|
||||||
end
|
end
|
||||||
print(string.format("[PYTHON VENV]: %s", vim.inspect(python_path)))
|
-- print(string.format("[PYTHON VENV]: %s", vim.inspect(python_path)))
|
||||||
client.config.settings.python.pythonPath = python_path
|
client.config.settings.python.pythonPath = python_path
|
||||||
on_attach(client, bufnr)
|
on_attach(client, bufnr)
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue