refactor: Use robust operators ==# or ==? instead of ==

This commit is contained in:
Caleb Maclennan
2023-02-21 21:47:47 +03:00
parent 5111d5b10c
commit c9d2473d5d

View File

@@ -285,7 +285,7 @@ endfunction
" "
function! indent_guides#exclude_filetype() abort function! indent_guides#exclude_filetype() abort
if exists('g:indent_guides_exclude_buftype') if exists('g:indent_guides_exclude_buftype')
if g:indent_guides_exclude_buftype && &buftype != '' if g:indent_guides_exclude_buftype && &buftype !=# ''
return 1 return 1
endif endif
endif endif