fix powerline characters

This commit is contained in:
Sean Buckley 2023-06-15 10:27:00 -04:00
parent e7a6c3f084
commit 5071dbed2d
2 changed files with 11 additions and 2 deletions

View file

@ -1,4 +1,8 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let
pl = lib.importJSON ./powerline-chars.json;
in
{ {
imports = [ imports = [
./kubernetes.nix ./kubernetes.nix
@ -150,8 +154,8 @@
highlight GitGutterAdd ctermfg=10 highlight GitGutterAdd ctermfg=10
highlight GitGutterChange ctermfg=11 highlight GitGutterChange ctermfg=11
highlight GitGutterDelete ctermfg=9 highlight GitGutterDelete ctermfg=9
let g:gitgutter_sign_removed = '' let g:gitgutter_sign_removed = '${pl.lower_left_triangle}'
let g:gitgutter_sign_removed_first_line = '' let g:gitgutter_sign_removed_first_line = '${pl.upper_left_triangle}'
let g:gitgutter_sign_modified_removed = '~~' let g:gitgutter_sign_modified_removed = '~~'
''; '';
}; };

View file

@ -0,0 +1,5 @@
{
"left_hard_divider": "\uE0B0",
"lower_left_triangle": "\uE0B8",
"upper_left_triangle": "\uE0BC"
}