| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
man#init_pager() guesses the ref by the heading, which is usually
uppercase, so we don't know the correct casing. But lowercase is more
common, so use that for the buffer name instead of uppercase.
ref #9156
|
|
|
|
| |
ref https://github.com/neovim/neovim/issues/9156#issuecomment-433156463
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this commit, man#init_pager() always tries to scrape the manpage
name and set the buffer name. That's much less important than avoiding
duplicate buffers and E95. And it doesn't seem to be necessary, usually.
Steps to reproduce:
$ export MANPAGER="nvim -c 'set ft=man' -"
$ man sleep
:Man sleep
Error detected while processing function man#init_pager:
line 15:
E95: Buffer with this name already exists
:ls!
1 h- "man://SLEEP(1)" line 4
2 %a- "man://sleep(1)" line 1
|
|
|
|
|
|
|
|
|
|
| |
For each package manager,
1. Check if they are executable before starting a job.
2. Check if the job opts are set before checking the job status
TODO: Validate the job id.
Prioritize npm because it's faster than yarn.
Reindent the code to 2-space indent.
|
|
|
|
|
|
|
|
|
| |
mandoc may not handle quoted MANPAGER arguments correctly. E.g. with
export MANPAGER='nvim -u NORC -c "set ft=man"'
mandoc treats `"set` and `ft=man"'` as separate tokens.
To workaround that, provide :Man! so that MANPAGER can avoid quoting.
closes #9120
|
|
|
|
|
|
| |
ref #9001
Instead of serially querying npm and yarn for neovim, start both as a
job and then wait for a successful result from either.
|
|\ |
|
| |
| |
| |
| |
| | |
Revert f4e2df4527be36a630713fdaad92dd5d3e87756e.
We don't support 'winptydll' and probably don't have any reason to.
|
| |
| |
| |
| |
| |
| | |
Problem: Entry for 'wrap' in options window is wrong. (John Little)
Solution: Make the change apply locally.
https://github.com/vim/vim/commit/8776889b5befd8eba66f4ad32282db36f85392a6
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Undo in the options window makes it empty.
Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matthew,
closes vim/vim#2645)
https://github.com/vim/vim/commit/9c474b277336235012f0c058bbaef2961d1ec83e
|
| |
| |
| |
| |
| |
| | |
Problem: 'winptydll' missing from :options.
Solution: Add the entry.
https://github.com/vim/vim/commit/0aed9a2e2eb93c43b21a5f781bf07c8a53dbd830
|
|/
|
|
|
| |
close #9113
ref #9040
|
|\
| |
| | |
vim-patch:2f0584910c0e
|
| |
| |
| |
| |
| | |
Update runtime files
https://github.com/vim/vim/commit/2f0584910c0ea93966dfa7b3b0272dfb16ea6f91
|
|/
|
|
|
| |
Small runtime update
https://github.com/vim/vim/commit/25a6e8a769aa1c0d308b5f871132961f37986d0a
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- Much of the mouse chatter in gui.txt and term.txt is redundant; other
parts are outdated or irreleveant to Nvim.
- Fix default value of 'mousemodel' for Windows
|
| |
| |
| |
| |
| |
| | |
design-flexible and design-multi-platform sections are "obvious" by now
(and covered in much of our other resources) and I've never seen it
referenced in any discussion.
|
| | |
|
| |
| |
| |
| | |
- tutor: emphasize K
|
|\ \
| | |
| | | |
vim-patch:7f2e9d7c9cdf
|
| |/
| |
| |
| |
| | |
Update runtime files.
https://github.com/vim/vim/commit/7f2e9d7c9cdfc5201a899b7b610edf64bf80c45f
|
|/
|
|
|
| |
Problem: Cannot cleanup before loading another colorscheme.
Solution: Add the ColorSchemePre autocommand event.
https://github.com/vim/vim/commit/60a68362aa73f4a6cb534688978f9dc2b16e60fe
|
|
|
|
|
|
|
| |
Problem: Cannot use :unlet for an environment variable.
Solution: Make it work. Use unsetenv() if available.
(Yasuhiro Matsumoto, closes vim/vim#2855)
https://github.com/vim/vim/commit/137374fd6538cf9dee0cb22907728d8fdecb5832
|
|\
| |
| | |
tui: add support for undercurl and colored underline
|
| |
| |
| |
| | |
Fixes https://github.com/neovim/neovim/issues/7479.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
On some systems, mandoc disallows $MANWIDTH greater than 1000.
E.g. FreeBSD:
https://github.com/freebsd/freebsd/blob/b7d613ae8a2fc1530d33aff53a1a678d284bfeec/contrib/mandoc/manpath.c#L312
closes #9065
|
|
|
|
| |
fixes #9057
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resets the TUI cursor color if:
- current 'guicursor' mode does not specify a highlight group
- cursor highlight group has "inverse" or "reverse" flag
- on Nvim exit
We interpret, "inverse" to mean "default cursor".
Example:
hi Cursor guifg=bg guibg=fg
set termguicolors
set guicursor=n-v-c-sm:block,i-ci-ve:ver25-Cursor,r-cr-o:hor20
* When the cursor shape is block, its color will be "inverse"
* When the cursor shape is I-beam, its color will be `hi Cursor`.
This is useful e.g. to prevent `set listchars=eol:¬` causing your cursor
color to a low contrast color in insert mode because you cursor are
often at EOL in insert mode.
close #8572
|
|
|
|
|
|
|
|
|
|
|
| |
When nroff justifies a line, it fills the line with whitespace to meet
$MANWIDTH. With $MANWIDTH=9999, that of course results in nonsense (and
behaves poorly with 'cursorline' option).
To work around that, instead of trying to hard-justify the lines, just
replace the mega-whitespace with a fixed size of 10 spaces.
Perhaps N/Vim needs a "soft justify" feature?
|
|
|
|
|
| |
fix #9017
close #9023
|
|
|
|
|
|
| |
Give embeders a chance to set up nvim, by processing a request before
startup. This allows an external UI to show messages and prompts from
--cmd and buffer loading (e.g. swap files)
|
| |
|
|
|
|
|
|
| |
Problem: Color scheme check script shows up as color scheme.
Solution: Move it to the "tools" subdirectory. (closes vim/vim#2457)
https://github.com/vim/vim/commit/8ee2d36e216756e712a3a9122ce1e1203378a9c8
|
|
|
|
|
|
| |
Problem: It is not easy to see if a colorscheme is well written.
Solution: Add a script that checks for common mistakes. (Christian Brabandt)
https://github.com/vim/vim/commit/200d0e36bc5384beb9dc76ac75806ac0aecf84ac
|
|
|
|
|
| |
Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded)
Solution: Don't use 'scrolloff' when an operator is pending.
https://github.com/vim/vim/commit/44cc4cf72fdd12cd9a779031d443aac4254d51ae
|
|
|
|
|
|
|
|
| |
Problem: Cannot get range count in user command.
Solution: Add <range> argument.
https://github.com/vim/vim/commit/c168bd4bd3a9b856fc410fc4515dcca1d10d7461
close #8946
|
|
|
|
|
|
| |
Problem: Cannot use another error format in getqflist().
Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/3653822546fb0f1005c32bb5b70dc9bfacdfc954
|
|
|
|
|
|
| |
Problem: "text" argument for getqflist() is confusing. (Lcd47)
Solution: Use "lines" instead. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/2c809b7c7d2bb5e4b7fd09c3d312cadecf0c1ff0
|
|
|
|
|
|
| |
Problem: It is not easy to identify a quickfix list.
Solution: Add the "id" field. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/a539f4f1ae4a2b3a7dfce89cd3800214c9e990cf
|
|
|
|
|
|
|
| |
Problem: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/7adf06f4e25c795ba32ff0b2e8591330f6a41afb
|
|
|
|
|
|
|
| |
Problem: Quickfix list always added after current one.
Solution: Make it possible to add a quickfix list after the last one.
(Yegappan Lakshmanan)
https://github.com/vim/vim/commit/55b6926450d75788dada3ff44a35e328224df758
|
|
|
|
|
|
| |
Problem: Cannot set a location list from text.
Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/ae338338508ef42866204f90dca861ac555f4298
|
|
|
|
|
| |
Not making minus sign optional as inf/nan without optional minus should’ve
already been handled by the very first case.
|
|\ |
|