aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/reload.d/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/mode/reload.d/nvim')
-rwxr-xr-x.local/share/mode/reload.d/nvim1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/share/mode/reload.d/nvim b/.local/share/mode/reload.d/nvim
index 84ae847..cfabcc7 100755
--- a/.local/share/mode/reload.d/nvim
+++ b/.local/share/mode/reload.d/nvim
@@ -1,4 +1,5 @@
#!/bin/sh
+silent_fail_if_no_commmand nvr
nvr --serverlist | while read -r nvim_socket ; do
fork nvr --nostart --servername "$nvim_socket" -c 'source $XDG_CONFIG_HOME/nvim/mode.vim'
done