Nmap Development mailing list archives
Re: Indenting style, modelines
From: David Fifield <david () bamsoftware com>
Date: Tue, 17 Feb 2009 10:35:26 -0700
On Tue, Feb 17, 2009 at 12:24:02PM +0100, Daniel Roethlisberger wrote:
What's the preferred indenting style: tabs + spaces or spaces only? The sources are rather inconsistent in this regard and the HACKING file says nothing about coding style.
The sources are very inconsistent. If there is anything like a dominant
style I think it is two-space indents, no tabs. I have this in my .vimrc:
if getcwd() =~ '/home/david/nmap.*'
set nocindent
set expandtab
set softtabstop=2
set shiftwidth=2
set copyindent
endif
Does something like that work for you instead of modelines?
David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Current thread:
- Re: [nmap-svn] r12101 - ncat Fyodor (Feb 16)
- Indenting style, modelines Daniel Roethlisberger (Feb 17)
- Re: Indenting style, modelines Daniel Roethlisberger (Feb 17)
- Re: Indenting style, modelines David Fifield (Feb 17)
- [PATCH] Re: Indenting style, modelines Daniel Roethlisberger (Mar 05)
- Re: [PATCH] Re: Indenting style, modelines Fyodor (Mar 06)
- Indenting style, modelines Daniel Roethlisberger (Feb 17)
- Re: [nmap-svn] r12101 - ncat Arturo 'Buanzo' Busleiman (Feb 17)
- Re: [nmap-svn] r12101 - ncat David Fifield (Feb 17)
- Re: [nmap-svn] r12101 - ncat Arturo 'Buanzo' Busleiman (Feb 17)
- Re: [nmap-svn] r12101 - ncat David Fifield (Feb 17)
