Draft: modules #1

Draft
pleshevskiy wants to merge 15 commits from modules into main
Showing only changes of commit 782c380023 - Show all commits

View file

@ -1,4 +1,4 @@
{ nix2lua, ... }:
{ nix2lua, vim, ... }:
{ flavour ? "frappe" }:
@ -6,8 +6,8 @@
with nix2lua.lib;
{
catppuccin = [
(set "vim.g.catppuccin_flavour" flavour)
(vim.g "catppuccin_flavour" flavour)
(pipe1 (require "catppuccin") (call0 "setup"))
(call "vim.cmd" "colorscheme catppuccin")
(vim.cmd' "colorscheme catppuccin")
];
}