From 741c42b2c376638f7e763e1cc76207f420129427 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Tue, 6 Mar 2012 17:04:37 +0900 Subject: [PATCH] - Improved ftplugin. --- doc/neocomplcache-snippets-complete.txt | 3 +++ ftplugin/snippet.vim | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/neocomplcache-snippets-complete.txt b/doc/neocomplcache-snippets-complete.txt index f710b74..e287d84 100644 --- a/doc/neocomplcache-snippets-complete.txt +++ b/doc/neocomplcache-snippets-complete.txt @@ -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(). diff --git a/ftplugin/snippet.vim b/ftplugin/snippet.vim index 3d4e31d..ecaeefd 100644 --- a/ftplugin/snippet.vim +++ b/ftplugin/snippet.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippets.vim " AUTHOR: Shougo Matsushita -" 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<