From dd347d2068d57b0f158d62ceaa23418496a3856c Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Thu, 8 Mar 2012 16:28:52 +0900 Subject: [PATCH] - Fixed ftplugin error. --- ftplugin/snippet.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ftplugin/snippet.vim b/ftplugin/snippet.vim index ecaeefd..2554bdb 100644 --- a/ftplugin/snippet.vim +++ b/ftplugin/snippet.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippets.vim " AUTHOR: Shougo Matsushita -" Last Modified: 06 Mar 2012. +" Last Modified: 08 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,10 +32,12 @@ if !exists('b:undo_ftplugin') endif setlocal expandtab -setlocal shiftwidth=&tabstop -setlocal softtabstop=&tabstop +let &l:shiftwidth=&tabstop +let &l:softtabstop=&tabstop let b:undo_ftplugin .= ' \ | setlocal expandtab< shiftwidth< softtabstop< tabstop< \' +let &cpo = s:save_cpo +unlet s:save_cpo