1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Add a style section very similar to one suggested by Daniel Roethlisberger on nmap-dev

This commit is contained in:
fyodor
2009-03-07 03:28:42 +00:00
parent 56d83f74a2
commit bf9d1bad77

15
HACKING
View File

@@ -93,6 +93,21 @@ easier. For each file, just do:
and just send us the patch: file.c.patch. and just send us the patch: file.c.patch.
Style
-----
When contributing new code, we suggest using two-space indents with no
tabs. This is generally the default in emacs, and Vim users can
achieve it by adding rules such as the following to .vimrc:
if getcwd() =~ '/nmap'
set nocindent
set expandtab
set softtabstop=2
set shiftwidth=2
set copyindent
endif
Credits Credits
------- -------