Trully fix tee commenting issue.

This commit is contained in:
CronyAkatsuki 2024-03-24 21:25:16 +01:00
parent 6d22034182
commit 591a14c42a

View File

@ -54,13 +54,23 @@
}; };
extraConfigLuaPre = '' extraConfigLuaPre = ''
vim.loader.enable() local autocmd = vim.api.nvim_create_autocmd
local augroup = vim.api.nvim_create_augroup
-- General Settings
local general = augroup("General Settings", { clear = true })
autocmd("BufEnter", {
callback = function()
vim.opt.formatoptions:remove { "c", "r", "o" }
end,
group = general,
desc = "Disable New Line Comment",
})
''; '';
extraConfigLuaPost = '' extraConfigLuaPost = ''
vim.notify = require("mini.notify").make_notify() vim.notify = require("mini.notify").make_notify()
vim.opt.formatoptions:remove({'c', 'r', 'o'})
''; '';
extraPackages = with pkgs; [ extraPackages = with pkgs; [
stylua stylua