Reworked config using chezmoi

This commit is contained in:
2026-01-13 15:01:43 +01:00
parent 2b6d3acf40
commit 7f21933475
64 changed files with 177 additions and 285 deletions

View File

@@ -0,0 +1,21 @@
vim.api.nvim_create_autocmd('BufEnter', {
pattern = '*.py',
callback = function()
local venv = vim.fn.finddir('.venv', vim.fn.getcwd() .. ';')
if venv ~= '' then
require('venv-selector').retrieve_from_cache()
end
end,
once = true,
})
return {
'linux-cultist/venv-selector.nvim',
opts = {
name = ".venv",
},
event = 'VeryLazy',
keys = {
{ '<leader>vs', '<cmd>VenvSelect<cr>' },
},
}