Call s:setup() directly in the plugin. Should fix #202.

- Move 'call s:setup()' out of the autocmd.
- Add a test for the first buffer without filetype set.
This commit is contained in:
Israel Chauca Fuentes
2015-01-15 11:21:09 -05:00
parent e7b4dedb84
commit 254a89d67c
2 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
let g:delimitMate_expand_cr = 1
let g:delimitMate_eol_marker = ';'
call vimtest#StartTap()
call vimtap#Plan(1)
call vimtap#Like(maparg('(', 'i'), '<Plug>delimitMate(', 'Mappings defined for the first buffer without filetype set.')
call vimtest#Quit()