aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2018-05-25 00:16:54 +0200
committerMax Christian Pohle2018-05-25 00:16:54 +0200
commit8a160217ad42ab0c7a5da37bb546a3eaaefe782d (patch)
tree149a321194f3560f129d4214949337c1e1ae12e8
parent04a1c5f1b8e074397c0fbb156466d741b9f58600 (diff)
downloadvim-8a160217ad42ab0c7a5da37bb546a3eaaefe782d.tar.bz2
vim-8a160217ad42ab0c7a5da37bb546a3eaaefe782d.zip
Added conditional indicators (spellcheck) to statusbar
-rw-r--r--vimrc-full14
1 files changed, 6 insertions, 8 deletions
diff --git a/vimrc-full b/vimrc-full
index 5c921fb..1e3f65e 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -1139,10 +1139,9 @@ augroup status
1139 \ ."%(%w%h%q\ %{ModeString()}%)" 1139 \ ."%(%w%h%q\ %{ModeString()}%)"
1140 \ ."%-2{nr2char(0xe621)}" 1140 \ ."%-2{nr2char(0xe621)}"
1141 \ ."%{(&readonly\ ?\ '\ \ \ '\ :\ '')}" 1141 \ ."%{(&readonly\ ?\ '\ \ \ '\ :\ '')}"
1142 \ ."%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')}" 1142 \ ."%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')\ }"
1143 \ ."%(\ %{fnamemodify(getcwd(),\ ':~')}\ %)" 1143 \ ."%{(&buftype\ ==\ \"terminal\"\ ?\ ''\ :\ fnamemodify(getcwd(),\ ':~').nr2char(0xf44a))}\ "
1144 \ ."%{nr2char(0xf44a)}" 1144 \ ."%{(&buftype\ ==\ \"terminal\"\ ?\ b:term_title\ :\ bufname('%'))\ }"
1145 \ ."%(\ %f\ %)"
1146 \ ."%#".l:invert_group."#" 1145 \ ."%#".l:invert_group."#"
1147 \ ."%{nr2char(0xE0B4)\ }" 1146 \ ."%{nr2char(0xE0B4)\ }"
1148 \ .'' 1147 \ .''
@@ -1152,12 +1151,11 @@ augroup status
1152 \ ."%{nr2char(0xE0B6)}" 1151 \ ."%{nr2char(0xE0B6)}"
1153 \ ."%#".a:highlight_group."#" 1152 \ ."%#".a:highlight_group."#"
1154 \ ."%1(%)" 1153 \ ."%1(%)"
1155 \ ."%{\ &filetype}" 1154 \ ."%{(&filetype\ !=\ ''\ ?\ &filetype\ :\ &buftype)}"
1156 \ ."%(\ %{nr2char(0xe621)}\ %)" 1155 \ ."%(\ %{nr2char(0xe621)}\ %)"
1157 \ ."%{(&spell\ ?\ &spelllang.' '.nr2char(0xe621)\ :\ '')}" 1156 \ ."%{(&spell\ ?\ &spelllang.' '.nr2char(0xe621)\ :\ '')}"
1158 \ ."%{&fileencoding}" 1157 \ ."%{(&fileencoding\ !=\ ''\ ?\ &fileencoding.' '.nr2char(0xe621)\ :\ '')}"
1159 \ ."%(\ %{nr2char(0xe621)}\ %)" 1158 \ ."%{(&fileformat\ !=\ ''\ ?\ &fileformat\ :\ '')}"
1160 \ ."%{&fileformat}"
1161 \ ."%(\ %{nr2char(0xe621)}\ %)" 1159 \ ."%(\ %{nr2char(0xe621)}\ %)"
1162 \ ."%4l:%-4c" 1160 \ ."%4l:%-4c"
1163 \ ."%(\ %{nr2char(0xe621)}\ %)" 1161 \ ."%(\ %{nr2char(0xe621)}\ %)"
..