aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-07-04 17:09:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2023-07-17 12:01:56 +1200
commitdadf79c8b6a6718a45f305c0296d2beafa925281 (patch)
tree8cf1014fe381f58941ca9d93a6a3debdde1fa7a0
parentAdd keybinding for rofi password-store login (diff)
downloaddotfiles-dadf79c8b6a6718a45f305c0296d2beafa925281.tar.gz
dotfiles-dadf79c8b6a6718a45f305c0296d2beafa925281.zip
Correct double-up in Vim python 'equalprg'
-rw-r--r--vim/after/ftplugin/python.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/python.vim b/vim/after/ftplugin/python.vim
index b5071e3b..cf7b00b7 100644
--- a/vim/after/ftplugin/python.vim
+++ b/vim/after/ftplugin/python.vim
@@ -20,7 +20,7 @@ let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>c'
" Mappings to choose 'equalprg'
nnoremap <buffer> <LocalLeader>t
- \ :<C-U>setlocal equalprg=equalprg=autopep8\ -aaa\ --\ -<CR>
+ \ :<C-U>setlocal equalprg=autopep8\ -aaa\ --\ -<CR>
nnoremap <buffer> <LocalLeader>i
\ :<C-U>setlocal equalprg<<CR>
let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>t'