From b566a1e5f772e5479ad337d5e43944474d4a124b Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 12 Dec 2021 10:04:32 +0100 Subject: [PATCH] Update vim and zsh config --- vim/after/ftplugin/go.vim | 4 ++++ zshenv | 1 + 2 files changed, 5 insertions(+) diff --git a/vim/after/ftplugin/go.vim b/vim/after/ftplugin/go.vim index 3962ad1..704ce3b 100644 --- a/vim/after/ftplugin/go.vim +++ b/vim/after/ftplugin/go.vim @@ -67,3 +67,7 @@ iabbrev logi log.Info().Msg(" iabbrev loge log.Error().Msg(" iabbrev logf log.Fatal().Msg(" iabbrev ctxcc ctx context.Context +iabbrev err! err != nil { +iabbrev ior io.Reader +iabbrev iow io.Writer +iabbrev gof go func() { diff --git a/zshenv b/zshenv index a4d0742..a5ad0b3 100644 --- a/zshenv +++ b/zshenv @@ -29,6 +29,7 @@ export PGUSER=postgres # NPM, Yarn: export BROWSER=none +export FAST_REFRESH=false # See `installdotfiles`: if [ -f "$ZDOTDIR/.zshsecrets" ]; then