- 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*
2012-03-06
- Improved ftplugin.
2012-03-03
- Added neocomplcache#sources#snippets_complete#force_expandable() and
neocomplcache#sources#snippets_complete#jumpable().

View File

@ -1,7 +1,7 @@
"=============================================================================
" FILE: snippets.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 23 Jun 2011.
" Last Modified: 06 Mar 2012.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
@ -32,9 +32,8 @@ if !exists('b:undo_ftplugin')
endif
setlocal expandtab
setlocal shiftwidth=4
setlocal softtabstop=4
setlocal tabstop=4
setlocal shiftwidth=&tabstop
setlocal softtabstop=&tabstop
let b:undo_ftplugin .= '
\ | setlocal expandtab< shiftwidth< softtabstop< tabstop<