kakoune: be more leanient on error checking during config reload
This commit is contained in:
parent
5a0c40df62
commit
0ff17cd6df
|
@ -142,8 +142,9 @@ in {
|
||||||
];
|
];
|
||||||
home.activation = {
|
home.activation = {
|
||||||
update_kakoune = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
update_kakoune = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
$DRY_RUN_CMD kak -clear
|
$DRY_RUN_CMD kak -clear &&
|
||||||
$DRY_RUN_CMD kak -l | xargs -r -n1 kak -e "config-source;quit" -ui dummy -c
|
$DRY_RUN_CMD kak -l | xargs -r -n1 kak -e "config-source;quit" -ui dummy -c ||
|
||||||
|
$DRY_RUN_CMD true
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
home.sessionVariables = lib.mkIf (editor == "kakoune") {
|
home.sessionVariables = lib.mkIf (editor == "kakoune") {
|
||||||
|
|
Loading…
Reference in a new issue