python: fix the pyenv path
- Fixes the concatenation of strings for the pyenv path. Co-Authored-by: iGor milhit <igor@milhit.ch>
parent
29781fb96e
commit
10f9cd5fbb
3
init.lua
3
init.lua
|
@ -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 ]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue