mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-09 10:23:46 -05:00
refactor: Use robust operators ==# or ==? instead of ==
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user