mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-16 05:33:45 -05:00
remove a redundant if statement
This commit is contained in:
@@ -95,9 +95,6 @@ let s:NERDFileNameEscape="[]#*$%'\" ?`!&();<>\\"
|
||||
" Section: Comment enabler autocommands {{{2
|
||||
" ============================================================================
|
||||
|
||||
if !exists("nerd_autocmds_loaded")
|
||||
let nerd_autocmds_loaded=1
|
||||
|
||||
augroup commentEnablers
|
||||
|
||||
"if the user enters a buffer or reads a buffer then we gotta set up
|
||||
@@ -109,8 +106,6 @@ if !exists("nerd_autocmds_loaded")
|
||||
autocmd Filetype * :call s:SetUpForNewFiletype(&filetype, 1)
|
||||
augroup END
|
||||
|
||||
endif
|
||||
|
||||
|
||||
" Function: s:SetUpForNewFiletype(filetype) function {{{2
|
||||
" This function is responsible for setting up buffer scoped variables for the
|
||||
|
||||
Reference in New Issue
Block a user