Update generated nvim config
This commit is contained in:
@ -0,0 +1,4 @@
|
||||
This is a single test.
|
||||
Line 2
|
||||
Line 3
|
||||
Line 4
|
||||
@ -0,0 +1,6 @@
|
||||
This is a single test.
|
||||
Line 2
|
||||
Line 3
|
||||
Line 4
|
||||
Added Line
|
||||
Added another Line
|
||||
26
config/neovim/store/lazy-plugins/NrrwRgn/test/test4/cmd.sh
Executable file
26
config/neovim/store/lazy-plugins/NrrwRgn/test/test4/cmd.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#!/nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
|
||||
#set -x
|
||||
|
||||
Test="Test4"
|
||||
|
||||
dir="$(realpath ../..)"
|
||||
LC_ALL=C vim -u NONE -N \
|
||||
--cmd ':set noswapfile hidden' \
|
||||
-c "sil :so $dir/plugin/NrrwRgn.vim" \
|
||||
-c ':e 1.txt' \
|
||||
-c 'sil :1,$NR!' \
|
||||
-c 'sil :$put =\"Added Line\"' \
|
||||
-c ':w|b#' \
|
||||
-c ':saveas! 1.txt.mod' \
|
||||
-c '2b|w|b#|b#' \
|
||||
-c 'sil :$put =\"Added another Line\"' \
|
||||
-c ':w|b#|wq!'
|
||||
|
||||
rt=$(diff -uN0 <(cat *.mod) <(cat *.ok))
|
||||
if [ "$?" -ne 0 ]; then
|
||||
printf "$Test failed\n"
|
||||
printf "Diff:\n%s\n" "$rt"
|
||||
exit 2;
|
||||
else
|
||||
printf "$Test successful!\n"
|
||||
fi
|
||||
@ -0,0 +1 @@
|
||||
## Test 4: Single Narrowed Window for a single buffer, switching back and forth between buffers several times (issue #44)
|
||||
Reference in New Issue
Block a user