added neovim with wrapper to avoid errors
This commit is contained in:
parent
2ef8eba58a
commit
39f608c4ca
13 changed files with 2967 additions and 3098 deletions
|
|
@ -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 })
|
||||
|
|
|
|||
|
|
@ -41,6 +41,3 @@ vim.o.confirm = true
|
|||
-- spell checking
|
||||
vim.opt.spell = true
|
||||
vim.opt.spelllang = "fr"
|
||||
|
||||
-- others
|
||||
vim.g.python3_host_prog = "/usr/bin/python3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue