vim: Add registers view (#25945)
Closes #18157 Release Notes: - vim: Added `:reg[isters]` to show the current values of registers --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
parent
ff0bb1f389
commit
f07ae541ad
7 changed files with 213 additions and 9 deletions
|
@ -45,7 +45,7 @@ pub fn is_invisible(c: char) -> bool {
|
|||
// ASCII control characters have fancy unicode glyphs, everything else
|
||||
// is replaced by a space - unless it is used in combining characters in
|
||||
// which case we need to leave it in the string.
|
||||
pub(crate) fn replacement(c: char) -> Option<&'static str> {
|
||||
pub fn replacement(c: char) -> Option<&'static str> {
|
||||
if c <= '\x1f' {
|
||||
Some(C0_SYMBOLS[c as usize])
|
||||
} else if c == '\x7f' {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue