Skip to content

Commit c9d2473

Browse files
committed
refactor: Use robust operators ==# or ==? instead of ==
1 parent 5111d5b commit c9d2473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/indent_guides.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ endfunction
285285
"
286286
function! indent_guides#exclude_filetype() abort
287287
if exists('g:indent_guides_exclude_buftype')
288-
if g:indent_guides_exclude_buftype && &buftype != ''
288+
if g:indent_guides_exclude_buftype && &buftype !=# ''
289289
return 1
290290
endif
291291
endif

0 commit comments

Comments
 (0)