From 104b19d4703879904dffb10c5f7b019e6c297683 Mon Sep 17 00:00:00 2001
From: Max Christian Pohle
Date: Thu, 17 May 2018 00:50:33 +0200
Subject: Some minor bugfixes and a little bit more status

---
 vimrc-full | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'vimrc-full')

diff --git a/vimrc-full b/vimrc-full
index 83b5c81..4881069 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -232,7 +232,8 @@ set tags+=../tags
 " code folding...
 set nofoldenable              | " disable folding, because we have zi to toggle foldenable :)
 set foldclose=all             | " automatically fold, when the cursor leaves the folded area
-set foldcolumn=0              | " I think I don't need this second indicator
+set foldcolumn=1              | " I think I don't need this second indicator
+set numberwidth=5
 " set foldmethod=syntax         | " foldlevel: syntax, indent, manual / foldmethod=syntax makes Vim incredible slow
 set foldnestmax=1             | " top level folding only
 set foldopen=block,hor,search | " when do we unfold?
@@ -795,7 +796,7 @@ if has("python")
     " YouCompleteMe: =====================================================================================================
     " Plug 'Valloric/MatchTagAlways'                           " highlights the closing tag/brace/...
     Plug 'Valloric/YouCompleteMe', {
-      \ 'do' : 'python install.py --clang-completer',
+      \ 'do' : 'python install.py --clang-completer --system-libclang --quiet',
       \ }
     let g:ycm_error_symbol                             = '✖' " insert this as an error symbol in the gutter bar/sign column
     let g:ycm_warning_symbol                           = '➔' " insert this as a warning symbol in the gutter bar/sign coloumn
@@ -998,7 +999,7 @@ function! ExtendColorTheme()
 
   " autocmd InsertLeave * call matchadd('Conceal', ' \+$', -1, 101, { 'conceal': '⟶' })
   autocmd InsertEnter * silent! call matchdelete(101)
-  autocmd InsertLeave * call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' })
+  autocmd InsertLeave * silent! call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' })
 
   " Show trailing whitepace and spaces before a tab as part of the syntax highlighting
   " autocmd BufEnter,InsertLeave * syntax match Convention /\s\+$\| \+\ze\t/ containedin=ALL
@@ -1079,7 +1080,7 @@ map <leader>h :echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")
 if filereadable(expand("~/.vimrc_background")) && filereadable(expand("~/.config/base16-shell/colortest"))
   let g:base16_shell_path="~/.config/base16-shell/scripts"
   let base16colorspace=256
-  let syntax_cmd="skip" " vim internal, use base16 and no default colors
+  " let syntax_cmd="skip" " vim internal, use base16 and no default colors
   set background=dark
   source ~/.vimrc_background
 else
@@ -1153,11 +1154,13 @@ augroup status
       \ ."%1(%)"
       \ ."%{\ &filetype}"
       \ ."%(\ %{nr2char(0xe621)}\ %)"
+      \ ."%{(&spell\ ?\ &spelllang.' '.nr2char(0xe621)\ :\ '')}"
       \ ."%{&fileencoding}"
       \ ."%(\ %{nr2char(0xe621)}\ %)"
       \ ."%{&fileformat}"
       \ ."%(\ %{nr2char(0xe621)}\ %)"
       \ ."%4l:%-4c"
+      \ ."%(\ %{nr2char(0xe621)}\ %)"
       \ ."%-3p%%"
   endfunction
 
-- 
cgit v1.2.3