Touch-up on koishi, fix gitmodules

This commit is contained in:
kat witch 2021-11-15 04:57:50 +00:00
parent 3d3cdda8cb
commit 2ba7aea5d1
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
8 changed files with 16 additions and 10 deletions

View file

@ -10,7 +10,6 @@ set sw=2
" colors
let base16colorspace=256
colorscheme base16-default-dark
autocmd vimenter * highlight Normal guibg=NONE ctermbg=NONE
autocmd SourcePost * highlight Normal ctermbg=NONE guibg=NONE
\ | highlight LineNr ctermbg=NONE guibg=NONE

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: with lib;
{ config, lib, pkgs, nixos, ... }: with lib;
let initvim = pkgs.callPackage
({ stdenv, elinks, nodejs }: stdenv.mkDerivation {
@ -23,6 +23,7 @@ in
enable = true;
extraConfig = ''
source ${initvim}
${if nixos.networking.hostName == "koishi" then "color-scheme base16-default-light" else "colorscheme base16-default-dark"}
'';
vimAlias = true;
viAlias = true;

View file

@ -19,6 +19,7 @@ in
packageConfigurable = pkgs.vim_configurable-pynvim;
extraConfig = ''
source ${initvim}
${if nixos.networking.hostName == "koishi" then "color-scheme base16-default-light" else "colorscheme base16-default-dark"}
'';
plugins = with pkgs.vimPlugins; [
"vim-cool"