mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -5,9 +5,11 @@
|
|||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
with lib;
|
||||
let
|
||||
cfg = config.plugins.quickmath;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.plugins.quickmath = {
|
||||
enable = mkEnableOption "quickmath.nvim";
|
||||
|
||||
|
@ -25,11 +27,11 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
extraPlugins = [cfg.package];
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
keymaps = with cfg.keymap;
|
||||
optional (key != null)
|
||||
{
|
||||
keymaps =
|
||||
with cfg.keymap;
|
||||
optional (key != null) {
|
||||
mode = "n";
|
||||
inherit key;
|
||||
action = ":Quickmath<CR>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue