refactor: Split nix config

This commit is contained in:
Ahmad Ansori Palembani 2024-07-11 11:51:23 +07:00
parent 37b30544c1
commit 2faf9059b8
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
4 changed files with 121 additions and 67 deletions

View file

@ -55,6 +55,16 @@ return {
keys = {
{ "gc", mode = { "n", "v", "i" } },
},
init = function ()
vim.api.nvim_create_autocmd("FileType", {
pattern = { "nix" },
callback = function()
vim.opt_local.commentstring = "# %s"
end,
group = generalSettingsGroup,
})
end,
},
{
"dstein64/vim-startuptime",