From 376091e78d74c189a0e09830bf1f9747a77409d2 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 8 Jun 2023 20:42:43 +0200 Subject: [PATCH] python: fix the pyenv path - Fixes the concatenation of strings for the pyenv path. Co-Authored-by: iGor milhit --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index f8edabe..e43be48 100644 --- a/init.lua +++ b/init.lua @@ -281,7 +281,8 @@ vim.opt.foldlevel = 1 -- Set a python virtualenv as python3 provider. -- `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 ]]