- Fixed ftplugin error.
This commit is contained in:
parent
2da0d192af
commit
dd347d2068
@ -1,7 +1,7 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" FILE: snippets.vim
|
" FILE: snippets.vim
|
||||||
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
|
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
|
||||||
" Last Modified: 06 Mar 2012.
|
" Last Modified: 08 Mar 2012.
|
||||||
" License: MIT license {{{
|
" License: MIT license {{{
|
||||||
" Permission is hereby granted, free of charge, to any person obtaining
|
" Permission is hereby granted, free of charge, to any person obtaining
|
||||||
" a copy of this software and associated documentation files (the
|
" a copy of this software and associated documentation files (the
|
||||||
@ -32,10 +32,12 @@ if !exists('b:undo_ftplugin')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
setlocal expandtab
|
setlocal expandtab
|
||||||
setlocal shiftwidth=&tabstop
|
let &l:shiftwidth=&tabstop
|
||||||
setlocal softtabstop=&tabstop
|
let &l:softtabstop=&tabstop
|
||||||
|
|
||||||
let b:undo_ftplugin .= '
|
let b:undo_ftplugin .= '
|
||||||
\ | setlocal expandtab< shiftwidth< softtabstop< tabstop<
|
\ | setlocal expandtab< shiftwidth< softtabstop< tabstop<
|
||||||
\'
|
\'
|
||||||
|
|
||||||
|
let &cpo = s:save_cpo
|
||||||
|
unlet s:save_cpo
|
||||||
|
Loading…
Reference in New Issue
Block a user