This commit is contained in:
afoucaultc 2026-07-07 15:22:59 +02:00
parent 39f608c4ca
commit 5e9cf56185
13 changed files with 60 additions and 42 deletions

View file

@ -1,13 +1,5 @@
-- (.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 })

View file

@ -1,10 +1,8 @@
return {
{
"Tsuzat/NeoSolarized.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
vim.cmd([[ colorscheme NeoSolarized ]])
end,
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {},
},
}

View file

@ -41,3 +41,5 @@ vim.o.confirm = true
-- spell checking
vim.opt.spell = true
vim.opt.spelllang = "fr"
-- theme
vim.cmd("colorscheme tokyonight-night")