Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add symbol for noeol#462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
shiluotang wants to merge1 commit intoryanoasis:master
base:master
Choose a base branch
Loading
fromshiluotang:feature/add-noeol-symbol

Conversation

@shiluotang
Copy link

@shiluotangshiluotang commentedSep 17, 2024
edited
Loading

only show this symbol when g:WebDevIconsNoEndOfLineDefaultSymbol is configured

Requirements (please check off with 'x')

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

  1. open a simple file in vim
  2. change eof status by vim command ":set noendofline"
  3. there should be no symbol for noeof on airline fileformat part

when g:WebDevIconsNoEndOfLineDefaultSymbol is configured by user

buffer verify

  1. set g:WebDevIconsNoEndOfLineDefaultSymbol in vimrc
  2. open a simple file in vim
  3. change eof status by vim command ":set noendofline"
  4. airline fileformat part should contain the value of "g:WebDevIconsNoEndOfLineDefaultSymbol"

file verify

  1. set g:WebDevIconsNoEndOfLineDefaultSymbol in vimrc
  2. create a simple file: echo "hello" > abc
  3. open file in binary mode: vim -b abc
  4. call vim command ":set noendofline", then save and exit
  5. open file in normal mode: vim abc
  6. airline fileformat part should contain the value of "g:WebDevIconsNoEndOfLineDefaultSymbol"

Any background context you can provide?

What are the relevant tickets (if any)?

Screenshots (if appropriate or helpful)

Untitled

only show this symbol when g:WebDevIconsNoEndOfLineDefaultSymbol isconfigured
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@shiluotang

[8]ページ先頭

©2009-2025 Movatter.jp