LazyVim/init.lua
2023-09-05 15:09:47 +02:00

16 lines
591 B
Lua

-- See `:h map-table` for map modes
-- See `:h stdpath` for paths
-- Use Node from ASDF
-- TODO: Use neovim config
vim.env.PATH = vim.env.HOME .. "/.asdf/installs/nodejs/20.5.1/bin/" .. ":" .. vim.env.PATH
-- 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")
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")