From db78454a032b38dac307988271d13e2294795b8d Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 7 May 2021 22:29:59 +0200 Subject: [PATCH] symbols: Use a different Column char in UTF-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Personally I don't like the extra-wide ㏇ char, so let's make it ℅ --- autoload/airline/init.vim | 6 +++--- doc/airline.txt | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index 87388898..9b3e14c1 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -104,13 +104,13 @@ function! airline#init#bootstrap() call s:check_defined('g:airline_left_alt_sep', "") call s:check_defined('g:airline_right_sep', "") call s:check_defined('g:airline_right_alt_sep', "") - " ro=⊝, ws=☲, lnr=㏑, mlnr=☰, colnr=㏇, br=ᚠ, nx=Ɇ, crypt=🔒 + " ro=⊝, ws=☲, lnr=㏑, mlnr=☰, colnr=℅, br=ᚠ, nx=Ɇ, crypt=🔒 call extend(g:airline_symbols, { \ 'readonly': "\u229D", \ 'whitespace': "\u2632", \ 'maxlinenr': "\u2630", \ 'linenr': "\u33d1", - \ 'colnr': "\u33c7", + \ 'colnr': "\u2105", \ 'branch': "\u16A0", \ 'notexists': "\u0246", \ 'crypt': nr2char(0x1F512), @@ -127,7 +127,7 @@ function! airline#init#bootstrap() \ 'whitespace': '!', \ 'linenr': 'ln', \ 'maxlinenr': '', - \ 'colnr': 'cn', + \ 'colnr': 'co', \ 'branch': '', \ 'notexists': '?', \ 'crypt': 'cr', diff --git a/doc/airline.txt b/doc/airline.txt index 576da808..4438438b 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -351,6 +351,8 @@ its contents. > let g:airline_left_sep = '▶' let g:airline_right_sep = '«' let g:airline_right_sep = '◀' + let g:airline_symbols.colnr = '㏇' + let g:airline_symbols.colnr = '℅' let g:airline_symbols.crypt = '🔒' let g:airline_symbols.linenr = '☰' let g:airline_symbols.linenr = '␊' @@ -372,6 +374,7 @@ its contents. > let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' + let g:airline_symbols.colnr = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '☰' let g:airline_symbols.maxlinenr = ''