Changeset 35103


Ignore:
Timestamp:
Mar 17, 2008, 2:33:01 PM (12 years ago)
Author:
raimue@…
Message:

HACKING:

  • Replace 'filetype' by shorter 'ft' in vim modeline
  • Remove trailing whitespace
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/HACKING

    r31680 r35103  
    4949 *  All source code files SHOULD have the following as the first line of
    5050    the file:
    51        
    52         # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    53        
     51
     52        # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
     53
    5454    This is a modeline that works for both emacs and vim.
    55    
     55
    5656 *  Portfiles SHOULD use soft tabs at a tabstop of 4, but implementation
    5757    of this is left up to the discretion of the maintainer.
     
    6363
    6464 *  Makefiles MAY use a modeline. The following works for emacs and vim:
    65  
    66         # -*- coding: utf-8; mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:fenc=utf-8:filetype=Makefile:noet:sw=8:ts=8
     65
     66        # -*- coding: utf-8; mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:fenc=utf-8:ft=Makefile:noet:sw=8:ts=8
    6767
    6868 *  All other files (documentation, etc) SHOULD use soft tabs at a tabstop
Note: See TracChangeset for help on using the changeset viewer.