added neovim with wrapper to avoid errors

This commit is contained in:
afoucaultc 2026-07-05 23:59:32 +02:00
parent 2ef8eba58a
commit 39f608c4ca
13 changed files with 2967 additions and 3098 deletions

View file

@ -1,5 +1,13 @@
-- (.config/nvim/lua/neoconf/autocmd.lua)
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
vim.g.loaded_python3_provider = nil
vim.g.python3_host_prog = "/etc/profiles/per-user/afoucaultc/bin/python3"
pcall(vim.cmd, "silent! python3 pass") -- force la ré-résolution
end,
})
vim.api.nvim_create_autocmd("BufWritePre", {
callback = function()
vim.lsp.buf.format({ async = false })