Fix bug with prompt color
parent
1e68c60f3a
commit
d40e536ed5
|
@ -25,6 +25,7 @@ let g:go_highlight_build_constraints = 1
|
||||||
let g:go_highlight_generate_tags = 1
|
let g:go_highlight_generate_tags = 1
|
||||||
let g:go_metalinter_autosave = 1
|
let g:go_metalinter_autosave = 1
|
||||||
let g:go_fmt_command = "goimports"
|
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>t <Plug>(go-test)
|
||||||
autocmd FileType go nmap <Leader>c <Plug>(go-coverage-toggle)
|
autocmd FileType go nmap <Leader>c <Plug>(go-coverage-toggle)
|
||||||
autocmd FileType go nmap <leader>b <Plug>(go-build)
|
autocmd FileType go nmap <leader>b <Plug>(go-build)
|
||||||
|
|
2
.zshrc
2
.zshrc
|
@ -161,7 +161,7 @@ format_return_code_prev() {
|
||||||
tput cuu1
|
tput cuu1
|
||||||
tput hpa $start
|
tput hpa $start
|
||||||
tput setab $PROMPT_COLOR_RED
|
tput setab $PROMPT_COLOR_RED
|
||||||
tput setaf $PROMPT_COLOR_BASE3
|
tput setaf $PROMPT_COLOR_ALWAYS_BASE3
|
||||||
echo -n "$text"
|
echo -n "$text"
|
||||||
tput sgr0
|
tput sgr0
|
||||||
tput rc
|
tput rc
|
||||||
|
|
Loading…
Reference in New Issue