Skip to content

Conversation

justinmk
Copy link
Member

@justinmk justinmk commented Oct 16, 2017

(Tests need to be updated, but I would like to hear any objections first.)

Most fonts should have these by now. Both are a significant visual
improvement.

  • Vertical connecting bar is used by tmux, pstree, etc. It also works in Windows 7 cmd.exe
    and nvim-qt.exe.
  • Middle dot · works on Windows 7 cmd.exe, nvim-qt.exe.

Most fonts should have these by now. Both are a significant visual
improvement.

- Vertical connecting bar `│` is used by tmux, pstree, Windows 7 cmd.exe
  and nvim-qt.exe.
- Middle dot `·` works on Windows 7 cmd.exe, nvim-qt.exe.
vert:c '|' vertical separators |:vsplit|
fold:c '-' filling 'foldtext'
vert:c '' vertical separators |:vsplit|
fold:c '·' filling 'foldtext'
diff:c '-' deleted lines of the 'diff' option

Any one that is omitted will fall back to the default. For "stl" and
Copy link
Member Author

@justinmk justinmk Oct 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work for some reason (Vim8 and Nvim), even with the old defaults. For example if I do this:

:set fillchars=diff:a

vert is set to blank, not the fill_vert default from globals.h.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep that 's something that is a bit strange as the defualt is returned by a function specific to the fillchar in question. I would favor defining a default right into the structure as in https://github.com/neovim/neovim/pull/6073/files#diff-bfacc6d8f849b9559c1c6cd5b79a5431R3367

@justinmk justinmk added the defaults Nvim defaults for options, colorscheme/theme, autocmds/events, etc. label Oct 16, 2017
@marvim marvim added the RFC label Oct 17, 2017
@justinmk justinmk added this to the 0.2.2 milestone Oct 21, 2017
@justinmk justinmk modified the milestones: 0.2.2, 0.2.3 Nov 13, 2017
@justinmk justinmk modified the milestones: 0.2.3, 0.2.4 Jan 23, 2018
@teto
Copy link
Member

teto commented Feb 7, 2018

If you like I can takeover this PR before cleaning up/trimming https://github.com/neovim/neovim/pull/6073/files

@justinmk
Copy link
Member Author

justinmk commented Feb 7, 2018

@teto yes! so glad you can work on this, would really like to get it done.

@justinmk justinmk closed this Feb 22, 2018
@justinmk justinmk deleted the defaults-fillchars branch February 22, 2018 23:22
@justinmk justinmk removed the RFC label Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defaults Nvim defaults for options, colorscheme/theme, autocmds/events, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants