1

Update generated nvim config

This commit is contained in:
2024-06-05 22:05:42 +02:00
parent 859ee3a2ba
commit 075fe5f587
1292 changed files with 152601 additions and 0 deletions

View File

@ -0,0 +1,4 @@
This is a single test.
Line 2
Line 3
Line 4

View File

@ -0,0 +1,6 @@
This is a single test.
Line 2
Line 3
Line 4
Added Line
Added after Narrowing Line

View File

@ -0,0 +1,24 @@
#!/nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
#set -x
Test="Test2"
dir="$(realpath ../..)"
LC_ALL=C vim -u NONE -N \
--cmd ':set noswapfile hidden' \
-c "sil :so $dir/plugin/NrrwRgn.vim" \
-c 'sil :1,$NR' \
-c 'sil :$put =\"Added Line\"' \
-c 'sil :wq' \
-c 'sil :$put =\"Added after Narrowing Line\"' \
-c ':bufdo if bufname("")=~"^\\d\\.txt$"|saveas! %.mod|endif' \
-c ':qa!' 1.txt
rt=$(diff -uN0 <(cat *.mod) <(cat *.ok))
if [ "$?" -ne 0 ]; then
printf "$Test failed\n"
printf "Diff:\n%s" "$rt"
exit 2;
else
printf "$Test successful!\n"
fi

View File

@ -0,0 +1 @@
## Test 2: Single Narrowed Window for a single buffers ##