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 +++++++++++++++++++++++++++ doc/coding/shell-scripts | 32 ++++++++++++++++++++++++++++++++ doc/coding/vim-coloring | 20 ++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 doc/coding/coding-style create mode 100644 doc/coding/shell-scripts create mode 100644 doc/coding/vim-coloring (limited to 'doc') 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\+\%#\@