Add missing tests for filtype=vim
Add missing tests for filetype=c
Merge branch 'add-missing-tests'

Fix gh-1.
c: Fix wrong selection at the end of a function

There were small typos that were causing the next function to be
selected when the cursor was placed at the end of a function.
line() returns a line number, not contents.  Use getline() instead.
c: Fix minor typos
vim: Fix a wrong use of functions
vim: Fix a minor typo
vim: Cancel if the cursor is not on any function
Merge branch 'fix-misc-bugs'

Fix gh-5.