Update generated nvim config
This commit is contained in:
@ -0,0 +1 @@
|
||||
foobar 1.txt
|
||||
@ -0,0 +1 @@
|
||||
foobar 1.txt some more stuff
|
||||
@ -0,0 +1 @@
|
||||
foobar 2.txt
|
||||
@ -0,0 +1 @@
|
||||
foobar 2.txt some more stuff
|
||||
@ -0,0 +1 @@
|
||||
foobar 3.txt
|
||||
@ -0,0 +1 @@
|
||||
foobar 3.txt some more stuff
|
||||
23
config/neovim/store/lazy-plugins/NrrwRgn/test/test1/cmd.sh
Executable file
23
config/neovim/store/lazy-plugins/NrrwRgn/test/test1/cmd.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
|
||||
#set -x
|
||||
|
||||
dir="$(realpath ../..)"
|
||||
LC_ALL=C vim -u NONE -N \
|
||||
--cmd ':set noswapfile hidden' \
|
||||
--cmd 'argadd *.txt' \
|
||||
-c "sil :so $dir/plugin/NrrwRgn.vim" \
|
||||
-c 'sil :bufdo :NRP' \
|
||||
-c 'sil :NRM' \
|
||||
-c 'sil :g/^foobar.*/s//& some more stuff/' \
|
||||
-c 'sil :wq' \
|
||||
-c ':bufdo if bufname("")=~"^\\d\\.txt$"|saveas! %.mod|endif' \
|
||||
-c ':qa!'
|
||||
|
||||
rt=$(diff -uN0 <(cat *.mod) <(cat *.ok))
|
||||
if [ "$?" -ne 0 ]; then
|
||||
printf "Test1 failed\n"
|
||||
printf "Diff:\n%s" "$rt"
|
||||
exit 2;
|
||||
else
|
||||
printf "Test1 successful!\n"
|
||||
fi
|
||||
@ -0,0 +1 @@
|
||||
## Test 1: Multi Narrowed Window for several distinct buffers ##
|
||||
Reference in New Issue
Block a user