2023-04-06 11:47:15 +02:00
|
|
|
-- See `:h map-table` for map modes
|
|
|
|
-- See `:h stdpath` for paths
|
2023-09-01 20:36:14 +02:00
|
|
|
|
2023-09-01 20:44:46 +02:00
|
|
|
-- Use Node from ASDF
|
|
|
|
-- TODO: Use neovim config
|
2024-06-07 11:13:45 +02:00
|
|
|
vim.env.PATH = vim.env.HOME .. "/.asdf/installs/nodejs/22.2.0/bin/" .. ":" .. vim.env.PATH
|
2023-09-01 20:44:46 +02:00
|
|
|
|
2023-09-01 20:36:14 +02:00
|
|
|
-- Use Python from neoovim "config" folder
|
|
|
|
local python_root = vim.fn.glob(vim.fn.stdpath("config") .. "/.direnv/python*", true, true)[1]
|
2024-06-18 15:57:33 +02:00
|
|
|
local python_bin = python_root .. "/bin"
|
2023-09-01 20:36:14 +02:00
|
|
|
vim.env.VIRTUAL_ENV = python_root
|
2024-06-18 15:57:33 +02:00
|
|
|
vim.env.PATH = python_bin .. ":" .. vim.env.PATH
|
|
|
|
vim.g.python3_host_prog = vim.fn.findfile("python3", python_bin .. "/python3")
|
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")
|