From 498b199fa5240c8aa27a2704708d1eb098bf3105 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 16 Dec 2013 20:26:12 +0100 Subject: Some docs about coding --- doc/coding/coding-style | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/coding/coding-style (limited to 'doc/coding/coding-style') diff --git a/doc/coding/coding-style b/doc/coding/coding-style new file mode 100644 index 00000000..b3658ef8 --- /dev/null +++ b/doc/coding/coding-style @@ -0,0 +1,27 @@ +Some guidelines + +-- 1. Leading Tabs, no spaces. +.vimrc: +set noexpandtab +set tabstop= +set autoindent + +If you want to see leading/trailing spaces: +highlight ExtraWhitespace ctermbg=red guibg=red +match ExtraWhitespace /^\t*\zs \+\|\s\+\%#\@