Consider the following pseudo-code:
if file_is_code:
setlocal softtabstop=4
setlocal shiftwidth=4
setlocal expandtab
else:
setlocal softtabstop=8
setlocal shiftwidth=8
Is there a simple way to do this?
--
You received this message from the vim_use maillist.
Do not top-post!
On 2011-04-11, Gerardo Marset wrote:
Consider the following pseudo-code:
if file_is_code:
setlocal softtabstop=4
setlocal shiftwidth=4
setlocal expandtab
else:
setlocal softtabstop=8
setlocal shiftwidth=8
Is there a simple way to do this?
You could put this in
El 11/04/11 20:33, Gary Johnson escribió:
On 2011-04-11, Gerardo Marset wrote:
Consider the following pseudo-code:
if file_is_code:
setlocal softtabstop=4
setlocal shiftwidth=4
setlocal expandtab
else:
setlocal softtabstop=8
setlocal shiftwidth=8
Is there a simple way