[pisa-src] r2564 - trunk/.vimrc

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 03 May 2011 14:27:28 +0200

Author: biurrun
Date: Tue May  3 14:27:28 2011
New Revision: 2564

Log:
vimrc: Set softtabstop instead of tabstop.

The tabstop option affects what a literal TAB character is interpreted as,
changing that setting disallows entering literal TAB characters, which is
unwanted.  Setting softtabstop instead makes the TAB key insert spaces,
which is the desired behavior.

Modified:
   trunk/.vimrc

Modified: trunk/.vimrc
==============================================================================
--- trunk/.vimrc        Mon May  2 19:09:41 2011        (r2563)
+++ trunk/.vimrc        Tue May  3 14:27:28 2011        (r2564)
@@ -1,9 +1,9 @@
 " indentation rules for PISA: 4 spaces, no tabs
 set expandtab
 set shiftwidth=4
-set tabstop=4
+set softtabstop=4
 
-autocmd FileType make,automake set noexpandtab shiftwidth=8 tabstop=8
+autocmd FileType make,automake set noexpandtab shiftwidth=8 softtabstop=8
 
 " trailing whitespace is forbidden, so highlight it
 let c_space_errors = 1
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts:

  • » [pisa-src] r2564 - trunk/.vimrc - Diego Biurrun