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:
Marty Oehme 2023-10-02 19:21:29 +02:00
parent bfb62e6783
commit 065488e57d
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -133,7 +133,7 @@ lspconfig.pyright.setup({
if python_path == nil then
python_path, _ = require("util").get_python_venv(client.config.root_dir)
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
on_attach(client, bufnr)
end,
@ -143,7 +143,7 @@ lspconfig.ruff_lsp.setup({
if python_path == nil then
python_path, _ = require("util").get_python_venv(client.config.root_dir)
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
on_attach(client, bufnr)
end,