python: fix the pyenv path
- Fixes the concatenation of strings for the pyenv path. Co-Authored-by: iGor milhit <igor@milhit.ch>
parent
aa2f3c9615
commit
376091e78d
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