dotfiles/nvim/init.lua

20 lines
376 B
Lua
Raw Permalink Normal View History

require("serxoz")
2023-10-18 17:19:58 +02:00
require('serxoz.packer')
2024-03-04 16:28:56 +01:00
-- autoformat
vim.api.nvim_create_augroup("AutoFormat", {})
vim.api.nvim_create_autocmd(
"BufWritePost",
{
pattern = "*.go",
group = "AutoFormat",
callback = function()
vim.cmd("silent !go fmt %")
vim.cmd("edit")
end,
}
)
2024-05-28 10:42:54 +02:00
-- codeium
vim.g.codeium_enabled = false