mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-08 18:03: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
|
||||
if exists('g:indent_guides_exclude_buftype')
|
||||
if g:indent_guides_exclude_buftype && &buftype != ''
|
||||
if g:indent_guides_exclude_buftype && &buftype !=# ''
|
||||
return 1
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user