- Improved ftplugin.

This commit is contained in:
Shougo Matsushita 2012-03-06 17:04:37 +09:00
parent 7ab14b958c
commit 741c42b2c3
2 changed files with 6 additions and 4 deletions

View File

@ -294,6 +294,9 @@ snippet *neocomplcache-snippets-complete-unite-action-snippet*
============================================================================== ==============================================================================
CHANGELOG *neocomplcache-snippets-complete-changelog* CHANGELOG *neocomplcache-snippets-complete-changelog*
2012-03-06
- Improved ftplugin.
2012-03-03 2012-03-03
- Added neocomplcache#sources#snippets_complete#force_expandable() and - Added neocomplcache#sources#snippets_complete#force_expandable() and
neocomplcache#sources#snippets_complete#jumpable(). neocomplcache#sources#snippets_complete#jumpable().

View File

@ -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: 23 Jun 2011. " Last Modified: 06 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,9 +32,8 @@ if !exists('b:undo_ftplugin')
endif endif
setlocal expandtab setlocal expandtab
setlocal shiftwidth=4 setlocal shiftwidth=&tabstop
setlocal softtabstop=4 setlocal softtabstop=&tabstop
setlocal tabstop=4
let b:undo_ftplugin .= ' let b:undo_ftplugin .= '
\ | setlocal expandtab< shiftwidth< softtabstop< tabstop< \ | setlocal expandtab< shiftwidth< softtabstop< tabstop<