From c558de9f769612a8b0344a4bc2e0a44b9ffb26d9 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Fri, 8 Sep 2017 17:00:26 +0200 Subject: [PATCH] Support folding in vim --- vimrc.symlink | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/vimrc.symlink b/vimrc.symlink index 2a81f5d..8b80fc0 100644 --- a/vimrc.symlink +++ b/vimrc.symlink @@ -1,6 +1,7 @@ set nocompatible " be iMproved, required filetype off " required +" Section Plugins {{{ " Load vim-plug if empty(glob("~/.vim/autoload/plug.vim")) execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim' @@ -12,12 +13,7 @@ call plug#begin() " let Vundle manage Vundle, required Plug 'VundleVim/Vundle.vim' -" The following are examples of different formats supported. -" Keep Plugin commands between vundle#begin/end. -" plugin on GitHub repo Plug 'tpope/vim-fugitive' -" Git plugin not hosted on GitHub - Plug 'tpope/vim-sensible' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' } @@ -79,13 +75,14 @@ let g:clang_library_path='/usr/lib/llvm-4.0/lib/libclang-4.0.so.1' Plug 'OmniSharp/omnisharp-vim', { 'for': 'cs' } let g:OmniSharp_server_type = 'roslyn' -set wildignore+=node_modules - " All of your Plugins must be added before the following line call plug#end() " required filetype plugin indent on " required +" }}} + " To ignore plugin indent changes, instead use: "filetype plugin on +set wildignore+=node_modules " T H E M E colorscheme solarized @@ -257,3 +254,5 @@ if has('conceal') set conceallevel=2 concealcursor=niv endif let g:neosnippet#snippets_directory = '~/.dotfiles/vim/neosnippets' + +set foldmethod=marker