Compare commits

..

2 Commits

Author SHA1 Message Date
82ca9fa328 Fix the trailing o. 2024-03-24 21:25:27 +01:00
591a14c42a Trully fix tee commenting issue. 2024-03-24 21:25:16 +01:00
2 changed files with 14 additions and 4 deletions

View File

@ -54,13 +54,23 @@
};
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 = ''
vim.notify = require("mini.notify").make_notify()
vim.opt.formatoptions:remove({'c', 'r', 'o'})
'';
extraPackages = with pkgs; [
stylua

View File

@ -10,4 +10,4 @@ fi
touch "$name"
chmod +x "$name"
echo "#!/usr/bin/env sh" > "$name"
nvim "+ normal Gzzoo" "$name"
nvim "+ normal Gzzo" "$name"