mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 01:25:22 +02:00
added formatter + reformat existing codebase (#175)
This commit is contained in:
parent
0bf4313f22
commit
264de8cefb
96 changed files with 3727 additions and 3341 deletions
|
@ -1,11 +1,14 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.colorschemes.base16;
|
||||
helpers = import ../helpers.nix { inherit lib; };
|
||||
themes = import ./base16-list.nix;
|
||||
in
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.colorschemes.base16;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
themes = import ./base16-list.nix;
|
||||
in {
|
||||
options = {
|
||||
colorschemes.base16 = {
|
||||
enable = mkEnableOption "base16";
|
||||
|
@ -34,7 +37,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
colorscheme = "base16-${cfg.colorscheme}";
|
||||
extraPlugins = [ cfg.package ];
|
||||
extraPlugins = [cfg.package];
|
||||
|
||||
plugins.airline.theme = mkIf (cfg.setUpBar) "base16";
|
||||
plugins.lightline.colorscheme = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue