diff options
author | Lakshman <acrlakshman@gmail.com> | 2014-03-10 12:19:40 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-10 11:34:49 -0700 |
commit | e8ee701d3573c860b09c2634647e9d00a0bb111c (patch) | |
tree | b77dd539f04b5628ee54d5fead63b57e40544c0d /CodingStyle | |
parent | 41cec17cfffb2dfc6d8b10ec9619f81a3bc9416d (diff) | |
download | subsurface-e8ee701d3573c860b09c2634647e9d00a0bb111c.tar.gz |
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.
Add two options that aren't exactly about coding style but about
convenience:
- `hls` option to highlight all search options.
- `is` option to do incremental search
Signed-off-by: Lakshman Anumolu <acrlakshman@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CodingStyle')
-rw-r--r-- | CodingStyle | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CodingStyle b/CodingStyle index cee23dc6d..f35fc0fa4 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 |