diff --git a/autoload/neocomplcache/sources/snippets_complete.vim b/autoload/neocomplcache/sources/snippets_complete.vim index 282a5a4..848d942 100644 --- a/autoload/neocomplcache/sources/snippets_complete.vim +++ b/autoload/neocomplcache/sources/snippets_complete.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippets_complete.vim " AUTHOR: Shougo Matsushita -" Last Modified: 07 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 @@ -597,7 +597,7 @@ function! s:expand_tabline()"{{{ for tabline in tablines[1:] if &expandtab let tabline = substitute(tabline, '<\\t>', - \ repeat(' ', &softtabstop ? &softtabstop : &shiftwidth), 'g') + \ repeat(' ', &shiftwidth), 'g') else let tabline = substitute(tabline, '<\\t>', '\t', 'g') endif diff --git a/doc/neocomplcache-snippets-complete.txt b/doc/neocomplcache-snippets-complete.txt index 73832b0..aa1bf68 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-08 +- Use shiftwidth instead of softabstop. + 2012-03-07 - Added snippet source. - Fixed snippet source behavior.