diff --git a/nvim/.config/nvim/after/ftplugin/quarto.lua b/nvim/.config/nvim/after/ftplugin/quarto.lua index d0cc225..94fd38f 100644 --- a/nvim/.config/nvim/after/ftplugin/quarto.lua +++ b/nvim/.config/nvim/after/ftplugin/quarto.lua @@ -1,5 +1,7 @@ -- Start quarto session local startsession = function(file, args) + local path, _ = require("util").get_python_venv() + vim.g["python3_host_prog"] = path file = file or "/tmp/jupyter-magma-session.json" if args then file = args[0] diff --git a/nvim/.config/nvim/lua/plugins/data_analysis.lua b/nvim/.config/nvim/lua/plugins/data_analysis.lua index 5043ac2..5a5f07e 100644 --- a/nvim/.config/nvim/lua/plugins/data_analysis.lua +++ b/nvim/.config/nvim/lua/plugins/data_analysis.lua @@ -18,6 +18,7 @@ return { }, }) end, + lazy = false, ft = "quarto", }, @@ -33,6 +34,7 @@ return { desc = "Inspect object in kernel", }, }, + lazy = false, }, -- REPL work @@ -51,5 +53,6 @@ return { "MagmaRestart", }, ft = { "quarto", "python" }, + lazy = false, }, }