fix(python): use joker to find path

This commit is contained in:
Michel 2023-09-01 19:07:29 +02:00
parent 71f3ba3377
commit 4d729efd38
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
-- See `:h map-table` for map modes
-- See `:h stdpath` for paths
--
vim.g.python3_host_prog = vim.fn.stdpath("config") .. "/.direnv/python-3.11.2/bin/python3"
vim.g.python3_host_prog = vim.fn.stdpath("config")
.. "/"
.. vim.fn.findfile("python3", vim.fn.stdpath("config") .. "/.direnv/**3")
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")