Hello, TODO for class indentation is fixed along with few more additions.
Thank you, Lakshman
From 383468b6767b304c6be612c1aa012075dd428622 Mon Sep 17 00:00:00 2001 From: Lakshman Anumolu <[email protected]> Date: Sun, 9 Mar 2014 12:40:17 -0500 Subject: [PATCH] Fixed Subsurface coding style for classes in vim. With the current suggested settings in `CodingStyle` content of class blocks gets indented. To avoid this, value `g0` is added to cinoptions. In addition to this `TODO` thing, few additional options are suggested. - Included the value `(0` to cinoptions, to comply with the discontinuation of continuous lines as per Subsurface coding style recommendations. - `hls` option is included, to highlight all search options. - `is` option is included, to highlight the search pattern. Signed-off-by: Lakshman Anumolu <[email protected]> --- CodingStyle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CodingStyle b/CodingStyle index cee23dc..f35fc0f 100644 --- a/CodingStyle +++ b/CodingStyle @@ -209,14 +209,15 @@ close to our coding standards. " Subsurface coding style filetype plugin indent on filetype detect -set cindent tabstop=8 shiftwidth=8 cinoptions=l1,:0 +set cindent tabstop=8 shiftwidth=8 cinoptions=l1,:0,(0,g0 " TODO: extern "C" gets indented -" TODO: content of class blocks gets indented " And some sane defaults, optional, but quite nice set nocompatible syntax on colorscheme default +set hls +set is " The default blue is just impossible to see on a black terminal highlight Comment ctermfg=Brown -- 1.8.3.2
_______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
