mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
fix powerline characters
This commit is contained in:
parent
e7a6c3f084
commit
5071dbed2d
2 changed files with 11 additions and 2 deletions
|
@ -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 = '~~'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
5
modules/cli/powerline-chars.json
Normal file
5
modules/cli/powerline-chars.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"left_hard_divider": "\uE0B0",
|
||||||
|
"lower_left_triangle": "\uE0B8",
|
||||||
|
"upper_left_triangle": "\uE0BC"
|
||||||
|
}
|
Loading…
Reference in a new issue