diff options
| author | Teddy Wing | 2015-08-16 02:39:22 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-08-16 02:39:22 -0400 |
| commit | da0a9cf9fba990b5d39041b43b7257599fd4c5a4 (patch) | |
| tree | 67923e52fd11cf9386ed6a1589a12e4c6a18bec4 /plugin | |
| parent | 957cc40ba08d66d9b39edda074662677d3d6f21a (diff) | |
| download | auditory.vim-da0a9cf9fba990b5d39041b43b7257599fd4c5a4.tar.bz2 | |
plugin/auditory.vim: Condense `g:auditory_on` check
Realised that I don't need to explicitly check for 1, I can check
against true or false. Get rid of the explicit check to make this more
concise.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/auditory.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auditory.vim b/plugin/auditory.vim index 593617e..39ae283 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -21,6 +21,6 @@ command! AuditoryOff call auditory#Unmap() command! AuditoryToggleGalaxyFarFarAway call auditory#ToggleGalaxyFarFarAway() -if g:auditory_on ==# 1 +if g:auditory_on call auditory#AssignMappings() endif |
