Source

frawor / test / filetype-commands.in

Full commit
:let &rtp.=",".escape($TESTDIR, ',\').'/rtp'
:let g:testfile="ftplugin/test.vim"
:source test.vim
:FtWrite
:W: ft=test
:set ft=test
:FtWrite
:W: ft=
:set ft=
:FtWrite
:W+ 2()
:new
:FtWrite
:W+ 3(test)
:new test
:FtWrite
:W+ 4()
:new
:FtWrite
:W: 2 ft=test
:call setbufvar(2, "&ft", "test")
:FtWrite
:W> 2
:b 2
:FtWrite