parent
44cc3f3e4a
commit
10bd41db5a
3 changed files with 40 additions and 4 deletions
12
tests/tests/vim/autocomplete.vader
Normal file
12
tests/tests/vim/autocomplete.vader
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Given nim:
|
||||
5.
|
||||
|
||||
Execute:
|
||||
set buftype=
|
||||
saveas! autocomplete.nim
|
||||
|
||||
Do:
|
||||
A\<c-x>\<c-o>\<c-n>\<esc>
|
||||
|
||||
Expect:
|
||||
5.alloc
|
||||
|
|
@ -7,9 +7,15 @@ Given nim:
|
|||
Execute:
|
||||
set buftype=""
|
||||
saveas! vader_workbench.nim
|
||||
w!
|
||||
norm G^
|
||||
NimDefinition
|
||||
|
||||
Then:
|
||||
AssertEqual 2, line(".")
|
||||
|
||||
Do:
|
||||
G^
|
||||
\<c-]>
|
||||
|
||||
Then:
|
||||
AssertEqual 2, line(".")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue