aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* man.vim: lowercase title when invoked as $MANPAGERJustin M. Keyes2018-10-26
| | | | | | | | 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
* doc/:Man: "!" is special in some shellsJustin M. Keyes2018-10-25
| | | | ref https://github.com/neovim/neovim/issues/9156#issuecomment-433156463
* man.vim: avoid duplicate buffers, E95Justin M. Keyes2018-10-25
| | | | | | | | | | | | | | | | | | | | 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
* provider/nodejs: fix npm,yarn detectionJan Edmund Lazo2018-10-22
| | | | | | | | | | 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.
* man.vim: :Man! operates on buffer contents (#9139)Justin M. Keyes2018-10-21
| | | | | | | | | 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
* provider/nodejs: Simultaneously query npm and yarn #9054Mahmoud Al-Qudsi2018-10-18
| | | | | | 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.
* Merge #9118Justin M. Keyes2018-10-13
|\
| * Revert "vim-patch:8.0.0971: 'winptydll' missing from :options"Justin M. Keyes2018-10-13
| | | | | | | | | | Revert f4e2df4527be36a630713fdaad92dd5d3e87756e. We don't support 'winptydll' and probably don't have any reason to.
| * vim-patch:8.0.1843: entry for 'wrap' in options window is wrongJan Edmund Lazo2018-10-12
| | | | | | | | | | | | Problem: Entry for 'wrap' in options window is wrong. (John Little) Solution: Make the change apply locally. https://github.com/vim/vim/commit/8776889b5befd8eba66f4ad32282db36f85392a6
| * vim-patch:8.0.1547: undo in the options window makes it emptyJan Edmund Lazo2018-10-12
| | | | | | | | | | | | | | 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
| * vim-patch:8.0.0971: 'winptydll' missing from :optionsJan Edmund Lazo2018-10-12
| | | | | | | | | | | | Problem: 'winptydll' missing from :options. Solution: Add the entry. https://github.com/vim/vim/commit/0aed9a2e2eb93c43b21a5f781bf07c8a53dbd830
* | signs: Add "numhl" argument #9113Reto Schnyder2018-10-13
|/ | | | | close #9113 ref #9040
* Merge pull request #9114 from nono/vim-2f0584910c0eJames McCoy2018-10-12
|\ | | | | vim-patch:2f0584910c0e
| * vim-patch:2f0584910c0eBruno Michel2018-10-12
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/2f0584910c0ea93966dfa7b3b0272dfb16ea6f91
* | vim-patch:25a6e8a769aaBruno Michel2018-10-12
|/ | | | | Small runtime update https://github.com/vim/vim/commit/25a6e8a769aa1c0d308b5f871132961f37986d0a
* Merge #8902 'doc'Justin M. Keyes2018-10-12
|\
| * doc: manpage: formatting, update --headlessJustin M. Keyes2018-10-11
| |
| * doc: mouse: cleanup, fixupJustin M. Keyes2018-10-11
| | | | | | | | | | | | - 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
| * doc/develop.txt: brevityJustin M. Keyes2018-10-11
| | | | | | | | | | | | 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.
| * doc: emphasize that "python" means "python 2"Justin M. Keyes2018-10-11
| |
| * doc: xdg, MAINTAIN.md, channel-id, job controlJustin M. Keyes2018-10-11
| | | | | | | | - tutor: emphasize K
* | Merge pull request #9096 from nono/vim-7f2e9d7c9cdfJames McCoy2018-10-11
|\ \ | | | | | | vim-patch:7f2e9d7c9cdf
| * | vim-patch:7f2e9d7c9cdfBruno Michel2018-10-07
| |/ | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/7f2e9d7c9cdfc5201a899b7b610edf64bf80c45f
* / vim-patch:8.0.1777: cannot cleanup before loading another colorscheme (#9104)Jan Edmund Lazo2018-10-11
|/ | | | | Problem: Cannot cleanup before loading another colorscheme. Solution: Add the ColorSchemePre autocommand event. https://github.com/vim/vim/commit/60a68362aa73f4a6cb534688978f9dc2b16e60fe
* vim-patch:8.0.1832: cannot use :unlet for an environment variableJan Edmund Lazo2018-10-02
| | | | | | | 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
* Merge pull request #9052 from blueyed/undercurlBjörn Linse2018-10-02
|\ | | | | tui: add support for undercurl and colored underline
| * tui: add support for undercurl and underline colorDaniel Hahler2018-10-01
| | | | | | | | Fixes https://github.com/neovim/neovim/issues/7479.
* | ui: reserve the right to split a screen redraw into multiple batches.Björn Linse2018-10-02
| |
* | ui: rename ext_newgrid to ext_linegridBjörn Linse2018-10-01
| |
* | ui: update docs for safe startup procedureBjörn Linse2018-10-01
|/
* man.vim: set $MANWIDTH=999Justin M. Keyes2018-09-30
| | | | | | | | 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
* man.vim: Start at the top #9023Justin M. Keyes2018-09-27
| | | | fixes #9057
* startup: always wait for UI with --embed, unless --headless also is suppliedBjörn Linse2018-09-22
|
* TUI: Reset cursor color when applicable #8572Yichao Zhou2018-09-22
| | | | | | | | | | | | | | | | | | | | | | | | 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
* man.vim: Fix very long justified lines #9023Justin M. Keyes2018-09-21
| | | | | | | | | | | 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?
* man.vim: Ignore $MANWIDTH, use soft wrap #9023Doron Behar2018-09-21
| | | | | fix #9017 close #9023
* startup: wait for embedder before executing startup commands and filesBjörn Linse2018-09-18
| | | | | | 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)
* runtime/colors: move check_colors.vim to runtime/toolsJan Edmund Lazo2018-09-16
|
* vim-patch:8.0.1400: color scheme check script shows up as color schemeJan Edmund Lazo2018-09-16
| | | | | | 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
* vim-patch:8.0.1395: it is not easy to see if a colorscheme is well writtenJan Edmund Lazo2018-09-16
| | | | | | 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
* vim-patch:8.0.1201: "yL" is affected by 'scrolloff' (#8997)Jan Edmund Lazo2018-09-14
| | | | | 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
* vim-patch:8.0.1089: range count in user commandKwon-Young2018-09-13
| | | | | | | | Problem: Cannot get range count in user command. Solution: Add <range> argument. https://github.com/vim/vim/commit/c168bd4bd3a9b856fc410fc4515dcca1d10d7461 close #8946
* vim-patch:8.0.1040: cannot use another error format in getqflist()Jan Edmund Lazo2018-09-08
| | | | | | Problem: Cannot use another error format in getqflist(). Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3653822546fb0f1005c32bb5b70dc9bfacdfc954
* vim-patch:8.0.1031: "text" argument for getqflist() is confusingJan Edmund Lazo2018-09-08
| | | | | | Problem: "text" argument for getqflist() is confusing. (Lcd47) Solution: Use "lines" instead. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2c809b7c7d2bb5e4b7fd09c3d312cadecf0c1ff0
* vim-patch:8.0.1023: it is not easy to identify a quickfix listJan Edmund Lazo2018-09-08
| | | | | | Problem: It is not easy to identify a quickfix list. Solution: Add the "id" field. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a539f4f1ae4a2b3a7dfce89cd3800214c9e990cf
* vim-patch:8.0.1006: quickfix list changes when parsing text with 'erroformat'Jan Edmund Lazo2018-09-07
| | | | | | | 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
* vim-patch:8.0.0922: quickfix list always added after current oneJan Edmund Lazo2018-09-07
| | | | | | | 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
* vim-patch:8.0.0904: cannot set a location list from textJan Edmund Lazo2018-09-06
| | | | | | Problem: Cannot set a location list from text. Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ae338338508ef42866204f90dca861ac555f4298
* runtime/msgpack: Fix inf/nan regexpZyX2018-09-06
| | | | | Not making minus sign optional as inf/nan without optional minus should’ve already been handled by the very first case.
* Merge #8953 from janlazo/vim-8.0.1190Justin M. Keyes2018-09-05
|\