2023-03-06 12:49:58 +01:00
|
|
|
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
|