aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-07-17 10:00:47 -0400
committertdro <tdro@users.noreply.github.com>2020-07-17 10:00:47 -0400
commitfdd19b580069ad325148f38edc3331a48928123e (patch)
tree47f1cddf44420c29d3dc68eca421c7d888e16da0 /.vimrc
parent09d5c1c6aed2c20f24d2adaa076ec0734300b074 (diff)
downloaddotfiles-fdd19b580069ad325148f38edc3331a48928123e.tar.gz
dotfiles-fdd19b580069ad325148f38edc3331a48928123e.tar.bz2
dotfiles-fdd19b580069ad325148f38edc3331a48928123e.zip
.vimrc: Remove redraw on helper functions
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc6
1 files changed, 1 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index 3308d82..8e25cb9 100644
--- a/.vimrc
+++ b/.vimrc
@@ -99,26 +99,22 @@ set foldcolumn=2
" PHP Fixer
function! PHPFix()
- :silent !notify-send "$(phpcbf % 2>&1)" &
- :redraw!
+ :silent !notify-send "$(phpcbf % 2>&1)"
endfunction
" HTML Beautify
function! HTMLBeautify()
:silent !notify-send "$(prettier --write --parser html %)"
- :redraw!
endfunction
" CSS Beautify
function! CSSBeautify()
:silent !notify-send "$(prettier --write --parser css %)"
- :redraw!
endfunction
" ESLint Fix
function! ESLintFix()
:silent !notify-send -t 10000 "$(eslint -c $HOME/.config/eslintrc.yml --fix %)" >/dev/null 2>&1
- :redraw!
endfunction
" Ansible Check