mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-16 08:47:16 +08:00
Allow to customize the trailing whitespace regexp
Currently, vim-airline uses hard-coded '\s$' to check for trailing whitespace. However you might want to check for different values. Therefore, set the variable g:airline#extensions#whitespace#trailing_regexp to the required regexp value. closes #663
This commit is contained in:
@@ -449,6 +449,9 @@ eclim <https://eclim.org>
|
||||
let g:airline#extensions#whitespace#trailing_format = 'trailing[%s]'
|
||||
let g:airline#extensions#whitespace#mixed_indent_format = 'mixed-indent[%s]'
|
||||
let g:airline#extensions#whitespace#long_format = 'long[%s]'
|
||||
|
||||
* configure custom trailing whitespace regexp rule >
|
||||
let g:airline#extensions#whitespace#trailing_regexp = '\s$'
|
||||
<
|
||||
------------------------------------- *airline-tabline*
|
||||
* enable/disable enhanced tabline. >
|
||||
|
||||
Reference in New Issue
Block a user