neosnippet.vim/ftplugin/neosnippet.vim

27 lines
642 B
VimL
Raw Normal View History

2012-02-02 04:33:35 +00:00
"=============================================================================
" FILE: snippets.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
2017-06-15 00:04:27 +00:00
" License: MIT license
2012-02-02 04:33:35 +00:00
"=============================================================================
let s:save_cpo = &cpo
set cpo&vim
if !exists('b:undo_ftplugin')
let b:undo_ftplugin = ''
2013-09-25 05:36:37 +00:00
else
let b:undo_ftplugin = '|'
2012-02-02 04:33:35 +00:00
endif
setlocal expandtab
2012-03-08 07:28:52 +00:00
let &l:shiftwidth=&tabstop
let &l:softtabstop=&tabstop
2012-11-02 09:32:08 +00:00
let &l:commentstring="#%s"
2012-02-02 04:33:35 +00:00
let b:undo_ftplugin .= '
2013-09-25 05:36:37 +00:00
\ setlocal expandtab< shiftwidth< softtabstop< tabstop< commentstring<
2012-02-02 04:33:35 +00:00
\'
2012-03-08 07:28:52 +00:00
let &cpo = s:save_cpo
unlet s:save_cpo