LazyVim/init.lua

12 lines
450 B
Lua
Raw Normal View History

-- See `:h map-table` for map modes
-- See `:h stdpath` for paths
-- Use Python from neoovim "config" folder
local python_root = vim.fn.glob(vim.fn.stdpath("config") .. "/.direnv/python*", true, true)[1]
vim.env.VIRTUAL_ENV = python_root
vim.env.PATH = python_root .. "/bin" .. ":" .. vim.env.PATH
vim.g.python3_host_prog = vim.fn.findfile("python3", python_root .. "/**3")
2023-03-31 17:56:00 +02:00
2023-01-07 10:53:23 +01:00
-- bootstrap lazy.nvim, LazyVim and your plugins
2023-01-07 10:20:36 +01:00
require("config.lazy")