vim-devicons
vim-devicons copied to clipboard
add symbol for noeol
only show this symbol when g:WebDevIconsNoEndOfLineDefaultSymbol is configured
Requirements (please check off with 'x')
- [x] I have read the Contributing Guidelines
- [x] I have read or at least glanced at the FAQ
- [x] I have read or at least glanced at the Wiki
What does this Pull Request (PR) do?
show symbol for noeol status as the airline [!EOL]
How should this be manually tested?
when g:WebDevIconsNoEndOfLineDefaultSymbol is default configured
- open a simple file in vim
- change eof status by vim command ":set noendofline"
- there should be no symbol for noeof on airline fileformat part
when g:WebDevIconsNoEndOfLineDefaultSymbol is configured by user
buffer verify
- set g:WebDevIconsNoEndOfLineDefaultSymbol in vimrc
- open a simple file in vim
- change eof status by vim command ":set noendofline"
- airline fileformat part should contain the value of "g:WebDevIconsNoEndOfLineDefaultSymbol"
file verify
- set g:WebDevIconsNoEndOfLineDefaultSymbol in vimrc
- create a simple file: echo "hello" > abc
- open file in binary mode: vim -b abc
- call vim command ":set noendofline", then save and exit
- open file in normal mode: vim abc
- airline fileformat part should contain the value of "g:WebDevIconsNoEndOfLineDefaultSymbol"