aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMax Christian Pohle2019-03-27 00:58:22 +0100
committerMax Christian Pohle2019-03-27 01:10:36 +0100
commit7f66224fe61d4858aa9fe6b3572e5abdc483480a (patch)
treec9b9c0b8fc3a95d14ba55d2f6ad31ad0ed2d651e /plugin
parent547c653d66a66bbcdfd3f9daeeee99da591f3b25 (diff)
downloadvim-7f66224fe61d4858aa9fe6b3572e5abdc483480a.tar.bz2
vim-7f66224fe61d4858aa9fe6b3572e5abdc483480a.zip
Fixed submodule again :/
Diffstat (limited to 'plugin')
-rw-r--r--plugin/max-fix-colorschemes.vim2
-rw-r--r--plugin/statusline.vim6
2 files changed, 5 insertions, 3 deletions
diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim
index 1c2c674..db8aad5 100644
--- a/plugin/max-fix-colorschemes.vim
+++ b/plugin/max-fix-colorschemes.vim
@@ -21,6 +21,8 @@ function! ExtendColorTheme()
21 else 21 else
22 let w:color=synIDtrans(synIDattr(hlID("Normal"), "bg")) 22 let w:color=synIDtrans(synIDattr(hlID("Normal"), "bg"))
23 silent! exec 'highlight invisible cterm=NONE ctermfg='.w:color.' ctermbg='.w:color 23 silent! exec 'highlight invisible cterm=NONE ctermfg='.w:color.' ctermbg='.w:color
24 let w:color="NONE"
25 silent! exec 'highlight invisible cterm=NONE ctermbg='.w:color
24 endif 26 endif
25 27
26 highlight! link EndOfBuffer Invisible 28 highlight! link EndOfBuffer Invisible
diff --git a/plugin/statusline.vim b/plugin/statusline.vim
index d7f3fbd..270f666 100644
--- a/plugin/statusline.vim
+++ b/plugin/statusline.vim
@@ -57,12 +57,12 @@ augroup MAX_FANCYLINE
57 \ 't' : 'terminal' 57 \ 't' : 'terminal'
58 \ }, mode(), mode()) 58 \ }, mode(), mode())
59 let l:webdev_ft_icon = exists("*WebDevIconsGetFileTypeSymbol") ? 59 let l:webdev_ft_icon = exists("*WebDevIconsGetFileTypeSymbol") ?
60 \ WebDevIconsGetFileTypeSymbol('*.'.&filetype) : "" 60 \ " ".WebDevIconsGetFileTypeSymbol('*.'.&filetype)." " : ""
61 return '' 61 return ''
62 \ ."%#StatusLineHighlight#" 62 \ ."%#StatusLineHighlight#"
63 \ ."%#".a:highlight_group."#" 63 \ ."%#".a:highlight_group."#"
64 \ ."%{(&readonly\ ?\ '\ \ 🔒'\ :\ '')}" 64 \ ."%{(&readonly\ ?\ '\ \ 🔒'\ :\ '')}"
65 \ ."%{(&modified\ ?\ '\ \ '\ :\ '')}" 65 \ ."%{(&modified\ ?\ '\ \ 💾'\ :\ '')}"
66 \ ."%(%w%h%q%)".' '.l:mode.' ' 66 \ ."%(%w%h%q%)".' '.l:mode.' '
67 \ ."%{(argc()>0\ ?\ argidx()+1.':'.argc().' '.g:status_sym_sep_start.' '\ :\ '')}" 67 \ ."%{(argc()>0\ ?\ argidx()+1.':'.argc().' '.g:status_sym_sep_start.' '\ :\ '')}"
68 \ ."%{(haslocaldir() ?\ g:status_sym_sep_start.' '.fnamemodify(getcwd(),\ ':.').'/ '\ \:\ '')}\ " 68 \ ."%{(haslocaldir() ?\ g:status_sym_sep_start.' '.fnamemodify(getcwd(),\ ':.').'/ '\ \:\ '')}\ "
@@ -92,7 +92,7 @@ augroup MAX_FANCYLINE
92 let l:git_branch = FugitiveHead() 92 let l:git_branch = FugitiveHead()
93 return '' 93 return ''
94 \ ."%#".a:highlight_group."#" 94 \ ."%#".a:highlight_group."#"
95 \ ."%3( \ %)\ " 95 \ ."%3( 📂\ %)\ "
96 \ ."%{getcwd(-1)}\ " 96 \ ."%{getcwd(-1)}\ "
97 \ ."%{FugitiveHead()==''?'':g:status_sym_sep_start.' '.g:symbol_branch.' '.FugitiveHead().' '}" 97 \ ."%{FugitiveHead()==''?'':g:status_sym_sep_start.' '.g:symbol_branch.' '.FugitiveHead().' '}"
98 \ ."%#".l:invert_group."#" 98 \ ."%#".l:invert_group."#"
..