Improve locales
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
0d5fe205fe
commit
7dc6308625
|
@ -3,7 +3,7 @@ cursor #606060
|
|||
cursor_text_color background
|
||||
|
||||
foreground #6d6d6d
|
||||
background #f9f9f9
|
||||
background #dfdfdf
|
||||
|
||||
selection_foreground #606060
|
||||
selection_background #9d9d9d
|
||||
|
@ -17,7 +17,7 @@ color5 #d33682
|
|||
color6 #2aa198
|
||||
color7 #2d2d2d
|
||||
color9 #cb4b16
|
||||
color8 #f9f9f9
|
||||
color8 #dfdfdf
|
||||
color10 #9d9d9d
|
||||
color11 #939393
|
||||
color12 #6d6d6d
|
||||
|
|
|
@ -299,18 +299,23 @@ augroup END
|
|||
set fillchars=stl:\ ,stlnc:\ ,vert:\ ,fold:·,diff:-
|
||||
|
||||
" hidden characters
|
||||
let w:listchars = [ "tab:\\\ \\\ ,extends:›,precedes:‹,nbsp:␣,trail:·", "tab:»\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·", "tab:⇥\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·,space:·,eol:↵"]
|
||||
let w:listchars_mode = -1
|
||||
highlight Whitespace ctermfg=10 ctermbg=none cterm=none
|
||||
let g:listchars = [ "tab:\\\ \\\ ,extends:›,precedes:‹,nbsp:␣,trail:·", "tab:⇥\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·,space:·", "tab:⇥\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·,space:·,eol:↵"]
|
||||
let g:listchars_mode = 0 " 0 means default is 1
|
||||
highlight Whitespace ctermfg=11 ctermbg=none cterm=none
|
||||
function! ToggleListChars()
|
||||
let w:listchars_mode += 1
|
||||
if w:listchars_mode >= len(w:listchars)
|
||||
let g:listchars_mode += 1
|
||||
if g:listchars_mode >= len(g:listchars)
|
||||
"set nolist
|
||||
let w:listchars_mode = -1
|
||||
let g:listchars_mode = -1
|
||||
call ToggleListChars()
|
||||
else
|
||||
set list
|
||||
execute "set listchars=".w:listchars[w:listchars_mode]
|
||||
if g:listchars_mode == 1
|
||||
highlight Whitespace ctermfg=237 ctermbg=none cterm=none
|
||||
else
|
||||
highlight Whitespace ctermfg=11 ctermbg=none cterm=none
|
||||
endif
|
||||
execute "set listchars=".g:listchars[g:listchars_mode]
|
||||
endif
|
||||
endfunction
|
||||
call ToggleListChars()
|
||||
|
|
5
.zshrc
5
.zshrc
|
@ -116,6 +116,11 @@ function gpg_start {
|
|||
test -e "$(which gpgconf)" && export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
}
|
||||
|
||||
# Ensure LANG is set
|
||||
if [[ -z "$LANG" ]]; then
|
||||
export LANG=en_GB.UTF-8
|
||||
fi
|
||||
|
||||
# iTerm2 integration
|
||||
if [[ -f "$HOME/.iterm2_shell_integration.zsh" ]]; then
|
||||
source "$HOME/.iterm2_shell_integration.zsh"
|
||||
|
|
Loading…
Reference in New Issue