-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
runtimefuntimefuntime
Description
nvim --version
: NVIM v0.3.4- Vim (version: ) behaves differently?
- Operating system/version: macOS 10.14.2
- Terminal name/version: Terminal.app
$TERM
: xterm
Steps to reproduce using nvim -u NORC
nvim -u NORC
:Man regex
Actual behaviour
Text is wrapped, cutting words in half:
These routines implement IEEE Std 1003.2 (``POSIX.2'') regular expressions
(``RE''s); see re_format(7). The regcomp() function compiles an RE, writte
n as a string, into an internal form. regexec() matches that internal form
against a string and reports results. regerror() transforms error codes f
rom either into human-readable messages. regfree() frees any dynamically-a
llocated storage used by the internal form of an RE.
Tag lists are misaligned:
REG_NOSPEC Compile with recognition of all special characters turned off
. All characters are thus considered ordinary, so the ``RE'' is a literal
string. This is an extension, compatible with but not specified by IEEE St
d 1003.2 (``POSIX.2''), and should be used with caution in software intende
d to be portable to other systems. REG_EXTENDED and REG_NOSPEC may not be
used in the same call to regcomp().
Expected behaviour
Word-aware wrapping, like MANPAGER=less man
:
These routines implement IEEE Std 1003.2 (``POSIX.2'') regular expres-
sions (``RE''s); see re_format(7). The regcomp() function compiles an
RE, written as a string, into an internal form. regexec() matches that
internal form against a string and reports results. regerror() trans-
forms error codes from either into human-readable messages. regfree()
frees any dynamically-allocated storage used by the internal form of an
RE.
Proper tag list alignment, like MANPAGER=less man
:
REG_NOSPEC Compile with recognition of all special characters turned
off. All characters are thus considered ordinary, so the
``RE'' is a literal string. This is an extension, compati-
ble with but not specified by IEEE Std 1003.2
(``POSIX.2''), and should be used with caution in software
intended to be portable to other systems. REG_EXTENDED and
REG_NOSPEC may not be used in the same call to regcomp().
This behaviour was present before v0.3.2, specifically #9023.
solson and eternaleye
Metadata
Metadata
Assignees
Labels
runtimefuntimefuntime