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 committed 2015-01-15 11:21:09 -05:00
1 parent e7b4dedb84
commit 254a89d67c
2 files changed
+11 -2

No files matched your search

+8
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()