1
0
Fork 0

Fix bug with prompt color

main
Ambrose Chua 2020-11-10 09:37:58 +08:00
parent 1e68c60f3a
commit d40e536ed5
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ let g:go_highlight_build_constraints = 1
let g:go_highlight_generate_tags = 1
let g:go_metalinter_autosave = 1
let g:go_fmt_command = "goimports"
let g:go_list_type_commands = {"GoMetaLinterAutoSave": "quickfix"}
autocmd FileType go nmap <leader>t <Plug>(go-test)
autocmd FileType go nmap <Leader>c <Plug>(go-coverage-toggle)
autocmd FileType go nmap <leader>b <Plug>(go-build)

2
.zshrc
View File

@ -161,7 +161,7 @@ format_return_code_prev() {
tput cuu1
tput hpa $start
tput setab $PROMPT_COLOR_RED
tput setaf $PROMPT_COLOR_BASE3
tput setaf $PROMPT_COLOR_ALWAYS_BASE3
echo -n "$text"
tput sgr0
tput rc