17 lines
624 B
Lua
17 lines
624 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/22.2.0/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]
|
|
local python_bin = python_root .. "/bin"
|
|
vim.env.VIRTUAL_ENV = python_root
|
|
vim.env.PATH = python_bin .. ":" .. vim.env.PATH
|
|
vim.g.python3_host_prog = vim.fn.findfile("python3", python_bin .. "/python3")
|
|
|
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
|
require("config.lazy")
|