mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-08 18:03:46 -05:00
committed by
Caleb Maclennan
parent
d96c8182d1
commit
9a106c73f6
@@ -286,7 +286,7 @@ function! indent_guides#exclude_filetype() abort
|
|||||||
return 1
|
return 1
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
for ft in split(&ft, '\.')
|
for ft in split(&ft, '\.', 1)
|
||||||
if index(g:indent_guides_exclude_filetypes, ft) > -1
|
if index(g:indent_guides_exclude_filetypes, ft) > -1
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -180,7 +180,8 @@ Default: 0. Values: 0 or 1
|
|||||||
<
|
<
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*'indent_guides_exclude_filetypes'*
|
*'indent_guides_exclude_filetypes'*
|
||||||
Use this option to specify a list of filetypes to disable the plugin for.
|
Use this option to specify a list of filetypes to disable the plugin for. Use
|
||||||
|
'' for files with no filetypes set.
|
||||||
|
|
||||||
Default: ['help']. Values: list of strings.
|
Default: ['help']. Values: list of strings.
|
||||||
>
|
>
|
||||||
@@ -273,8 +274,9 @@ Bug reports, feedback, suggestions etc are welcomed.
|
|||||||
7. CHANGELOG *indent-guides-changelog*
|
7. CHANGELOG *indent-guides-changelog*
|
||||||
|
|
||||||
1.8 (pending release)~
|
1.8 (pending release)~
|
||||||
|
* Allow exclude files with no 'filetype' set (thanks @noscript).
|
||||||
* Added option g:|indent_guides_soft_pattern| to control the pattern for
|
* Added option g:|indent_guides_soft_pattern| to control the pattern for
|
||||||
soft indentation (thanks @sergey-vlasov).
|
soft indentation (thanks @noscript).
|
||||||
* Added option g:|indent_guides_default_mapping| to control whether the
|
* Added option g:|indent_guides_default_mapping| to control whether the
|
||||||
default mapping (<Leader>ig) gets set (thanks @suy).
|
default mapping (<Leader>ig) gets set (thanks @suy).
|
||||||
* Set size of indent guide to `tabstop` value when `shiftwidth=0` or
|
* Set size of indent guide to `tabstop` value when `shiftwidth=0` or
|
||||||
|
|||||||
Reference in New Issue
Block a user