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
|
cursor_text_color background
|
||||||
|
|
||||||
foreground #6d6d6d
|
foreground #6d6d6d
|
||||||
background #f9f9f9
|
background #dfdfdf
|
||||||
|
|
||||||
selection_foreground #606060
|
selection_foreground #606060
|
||||||
selection_background #9d9d9d
|
selection_background #9d9d9d
|
||||||
|
@ -17,7 +17,7 @@ color5 #d33682
|
||||||
color6 #2aa198
|
color6 #2aa198
|
||||||
color7 #2d2d2d
|
color7 #2d2d2d
|
||||||
color9 #cb4b16
|
color9 #cb4b16
|
||||||
color8 #f9f9f9
|
color8 #dfdfdf
|
||||||
color10 #9d9d9d
|
color10 #9d9d9d
|
||||||
color11 #939393
|
color11 #939393
|
||||||
color12 #6d6d6d
|
color12 #6d6d6d
|
||||||
|
|
|
@ -299,18 +299,23 @@ augroup END
|
||||||
set fillchars=stl:\ ,stlnc:\ ,vert:\ ,fold:·,diff:-
|
set fillchars=stl:\ ,stlnc:\ ,vert:\ ,fold:·,diff:-
|
||||||
|
|
||||||
" hidden characters
|
" hidden characters
|
||||||
let w:listchars = [ "tab:\\\ \\\ ,extends:›,precedes:‹,nbsp:␣,trail:·", "tab:»\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·", "tab:⇥\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·,space:·,eol:↵"]
|
let g:listchars = [ "tab:\\\ \\\ ,extends:›,precedes:‹,nbsp:␣,trail:·", "tab:⇥\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·,space:·", "tab:⇥\\\ ,extends:›,precedes:‹,nbsp:␣,trail:·,space:·,eol:↵"]
|
||||||
let w:listchars_mode = -1
|
let g:listchars_mode = 0 " 0 means default is 1
|
||||||
highlight Whitespace ctermfg=10 ctermbg=none cterm=none
|
highlight Whitespace ctermfg=11 ctermbg=none cterm=none
|
||||||
function! ToggleListChars()
|
function! ToggleListChars()
|
||||||
let w:listchars_mode += 1
|
let g:listchars_mode += 1
|
||||||
if w:listchars_mode >= len(w:listchars)
|
if g:listchars_mode >= len(g:listchars)
|
||||||
"set nolist
|
"set nolist
|
||||||
let w:listchars_mode = -1
|
let g:listchars_mode = -1
|
||||||
call ToggleListChars()
|
call ToggleListChars()
|
||||||
else
|
else
|
||||||
set list
|
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
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
call ToggleListChars()
|
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)"
|
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
|
# iTerm2 integration
|
||||||
if [[ -f "$HOME/.iterm2_shell_integration.zsh" ]]; then
|
if [[ -f "$HOME/.iterm2_shell_integration.zsh" ]]; then
|
||||||
source "$HOME/.iterm2_shell_integration.zsh"
|
source "$HOME/.iterm2_shell_integration.zsh"
|
||||||
|
|
Loading…
Reference in New Issue