mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-09 13:02:19 +08:00
Allow overriding trailing ws regexp per buffer
For example, in a github repository, you might want to allow trailing double spaces in a file, but not elsewhere
This commit is contained in:
@@ -1558,6 +1558,9 @@ vista.vim <https://github.com/liuchengxu/vista.vim>
|
||||
* configure custom trailing whitespace regexp rule >
|
||||
let g:airline#extensions#whitespace#trailing_regexp = '\s$'
|
||||
|
||||
" this can also be configured for an individual buffer
|
||||
let b:airline_whitespace_trailing_regexp = '\s$'
|
||||
|
||||
* configure, which filetypes have special treatment of /* */ comments,
|
||||
matters for mix-indent-file algorithm: >
|
||||
let airline#extensions#c_like_langs =
|
||||
|
||||
Reference in New Issue
Block a user