python: fix the pyenv path

- Fixes the concatenation of strings for the pyenv path.

Co-Authored-by: iGor milhit <igor@milhit.ch>
iGor milhit 2023-06-08 20:42:43 +02:00
parent aa2f3c9615
commit 376091e78d
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 2 additions and 1 deletions

View File

@ -281,7 +281,8 @@ vim.opt.foldlevel = 1
-- Set a python virtualenv as python3 provider. -- Set a python virtualenv as python3 provider.
-- `vim.env.HOME` uses the neovim API to fetch the $HOME env. -- `vim.env.HOME` uses the neovim API to fetch the $HOME env.
vim.g.python3_host_prog = '/home/igor/.pyenv/versions/neovim3/bin/python' -- The `..` appends strings in lua.
vim.g.python3_host_prog = vim.env.HOME .. '/.pyenv/versions/neovim3/bin/python'
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]