changed directories and addet fzf to zsh
This commit is contained in:
parent
0acd581d40
commit
cb928bb0b4
428 changed files with 20659 additions and 15 deletions
16
.zsh/plugins/autopairs/tests/balanced-p.zunit
Normal file
16
.zsh/plugins/autopairs/tests/balanced-p.zunit
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env zunit
|
||||
@test 'basic boundary tests' {
|
||||
LBUFFER="abc"
|
||||
RBUFFER="123"
|
||||
assert_false _ap-boundary-p " " " "
|
||||
assert_true _ap-boundary-p "[^3]" "[^a]"
|
||||
assert_false _ap-boundary-p "[^c]" "[^1]"
|
||||
assert_true _ap-boundary-p "c" " "
|
||||
assert_true _ap-boundary-p " " "1"
|
||||
}
|
||||
|
||||
@test 'no boundary on blank line' {
|
||||
LBUFFER=
|
||||
RBUFFER=
|
||||
assert_false _ap-next-to-boundary-p "{"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue