- Use shiftwidth instead of softabstop.

This commit is contained in:
Shougo Matsushita 2012-03-08 18:01:53 +09:00
parent dd347d2068
commit 8ec6ee3f82
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
"=============================================================================
" FILE: snippets_complete.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" 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

View File

@ -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.