Skip to content

Commit 3078cd1

Browse files
authored
[delete] Remove redundant nest (#179)
* [delete] Remove redundant nest * [update] comment out
1 parent 1c4f781 commit 3078cd1

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

plugin/editorconfig.vim

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@
2424
" POSSIBILITY OF SUCH DAMAGE.
2525
"
2626

27-
if v:version < 700
28-
finish
29-
endif
30-
31-
" check whether this script is already loaded
32-
if exists("g:loaded_EditorConfig")
27+
" check for Vim versions and duplicate script loading.
28+
if v:version < 700 || exists("g:loaded_EditorConfig")
3329
finish
3430
endif
3531
let g:loaded_EditorConfig = 1

0 commit comments

Comments
 (0)