aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* 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
|\
| * vim-patch:8.0.1595: no autocommand triggered before exitingJan Edmund Lazo2018-09-04
| | | | | | | | | | | | Problem: No autocommand triggered before exiting. Solution: Add the ExitPre autocommand event. https://github.com/vim/vim/commit/12a96de430779b88795fac87a2be666d9f661d1e
* | vim-patch:8.0.1792: MS-Windows users expect -? to work like --helpJan Edmund Lazo2018-09-04
|/ | | | | | | | Problem: MS-Windows users expect -? to work like --help. Solution: Add -?. (Christian Brabandt, closes vim/vim#2867) https://github.com/vim/vim/commit/c3e81694fca484ebabd99f3637bd83b9ee2dd50a Include runtime/ changes from https://github.com/vim/vim/commit/85eee130f44a2201d88ca2aeff0af3b11dd75fa9 to pass 8.1.0231 tests.
* doc/defaults: document `ttimeoutlen` default (#8943)zandr2018-09-01
|
* man.vim: guard against reload (#8940)dm1try2018-09-01
| | | | | | Some plugins attempt to reload autoloaded scripts. Use a guard to prevent this. fix #8939
* health.vim: Detect missing init.vimJustin M. Keyes2018-08-27
| | | | closes #4877
* Merge #8904 from janlazo/vim-8.0.0900Justin M. Keyes2018-08-26
|\
| * vim-patch:8.0.0900: :tab options doesn't open a new tab pageJan Edmund Lazo2018-08-24
| | | | | | | | | | | | Problem: :tab options doesn't open a new tab page. (Aviany) Solution: Support the :tab modifier. (closes vim/vim#1960) https://github.com/vim/vim/commit/ab6c8587ba846d08cd70e7b225c4952a468fc1e8
* | runtime/doc: fix broken links found by `make html`Justin M. Keyes2018-08-25
| |
* | build/doc: generate vimindex.htmlJustin M. Keyes2018-08-25
|/ | | | | | | | | This note in runtime/doc/Makefile explains the special-case: index.html is the starting point for HTML, but for the help files it is help.txt. Therefore use vimindex.html for index.txt. fix #8907
* remote/host.vim: specify {nosuf} for globpath() (#8882)Justin M. Keyes2018-08-24
|
* doc: remove mention of "drop" register (#8893)A Brooks2018-08-23
| | | close #8881
* vim-patch:8.0.1041: bogus characters when indenting during visual-block appendJan Edmund Lazo2018-08-23
| | | | | | | Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt) https://github.com/vim/vim/commit/e2e69e48134cbfdedea7802810932f8592705024
* Merge #8861 from janlazo/vim-8.0.1364Justin M. Keyes2018-08-21
|\
| * vim-patch:8.1.0184: not easy to figure out the window layoutJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: Not easy to figure out the window layout. Solution: Add "wincol" and "winrow" to what getwininfo() returns. https://github.com/vim/vim/commit/b6959a8e06cef6d2126b030b2f8acd49457a3582
| * vim-patch:8.0.1364: there is no easy way to get the window positionJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: There is no easy way to get the window position. Solution: Add win_screenpos(). https://github.com/vim/vim/commit/22044dc31788d9f1c2da7725269884d9923b4795
* | Merge #8866 from janlazo/vim-8.0.0878Justin M. Keyes2018-08-20
|\ \
| * | vim-patch:8.0.1090: cannot get the text under the cursor like v:beval_textJan Edmund Lazo2018-08-17
| | | | | | | | | | | | | | | | | | Problem: cannot get the text under the cursor like v:beval_text Solution: Add <cexpr>. https://github.com/vim/vim/commit/65f084749b260746d7f186af4f080298be2df55b
| * | vim-patch:8.0.1787: cannot insert the whole cursor lineJan Edmund Lazo2018-08-16
| | | | | | | | | | | | | | | | | | Problem: Cannot insert the whole cursor line. Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes vim/vim#2857) https://github.com/vim/vim/commit/e2c8d8392684a940cc5608acc73ff47486bd7b92
| * | vim-patch:8.0.1649: no completion for argument list commandsJan Edmund Lazo2018-08-16
| | | | | | | | | | | | | | | | | | Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes vim/vim#2706) https://github.com/vim/vim/commit/cd43effecab02c6c28b1c4a3a14f91b8c3f26c0d
| * | vim-patch:8.0.0878: no completion for :mapclearJan Edmund Lazo2018-08-16
| |/ | | | | | | | | | | Problem: No completion for :mapclear. Solution: Add completion (Nobuhiro Takasaki et al. closes vim/vim#1943) https://github.com/vim/vim/commit/cae92dc3d5bdd4009910671328cd01394bfbe2cf
* / doc: Remove irrelevant line about "only the first" vimrc is usedJames McCoy2018-08-18
|/ | | | | | | | | Vim supports multiple locations for the user's vimrc, so it will use the first one that is found, ignoring the rest. Nvim follows the XDG spec, so there is only one place to look for the user's vimrc, thus making the statement unnecessary and confusing for nvim users. Ref #8871
* Merge #8852 from janlazo/vim-8.1.0161Justin M. Keyes2018-08-15
|\
| * vim-patch:8.0.1630: trimming white space is not that easyJan Edmund Lazo2018-08-13
| | | | | | | | | | | | Problem: Trimming white space is not that easy. Solution: Add the trim() function. (Bukn, closes vim/vim#1280) https://github.com/vim/vim/commit/295ac5ab5e840af6051bed5ec9d9acc3c73445de
* | cursor_shape: use attribute ids instead of syntax idsBjörn Linse2018-08-13
|/ | | | | As attribute ids is the convention in the UI protocol Also remove non-threadsafe calls in tui.c to syntax module.
* Merge #8833 from janlazo/vim-8.0.1004Justin M. Keyes2018-08-12
|\
| * vim-patch:8.0.1410: hang when using count() with an empty stringJan Edmund Lazo2018-08-09
| | | | | | | | | | | | Problem: Hang when using count() with an empty string. Solution: Return zero for an empty string. (Dominique Pelle, closes vim/vim#2465) https://github.com/vim/vim/commit/338e47fdfdf0d918dae50a5cbf0cf4f7be45b4f0
* | vim-patch:8.0.1361: some users don't want to diff with hidden buffersJan Edmund Lazo2018-08-11
| | | | | | | | | | | | Problem: Some users don't want to diff with hidden buffers. Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes vim/vim#2394) https://github.com/vim/vim/commit/97ce419201421f65f4764549ed80307a7ef9c7a6
* | tutor: don't set statusline (#8844)Felipe Morales2018-08-10
|/ | | | | also, remove unused function tutor#InfoText() fixes #8842
* Merge #8797 from janlazo/vim-8.0.0687Justin M. Keyes2018-08-09
|\
| * vim-patch:8.0.0735: no indication that the quickfix window/buffer changedJan Edmund Lazo2018-07-28
| | | | | | | | | | | | | | | | Problem: There is no way to notice that the quickfix window contents has changed. Solution: Increment b:changedtick when updating the quickfix window. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a8788f4d0b991f466b607c2c5bc6fd600bc78a97
| * vim-patch:8.0.0687: minor issues related to quickfixJan Edmund Lazo2018-07-28
| | | | | | | | | | | | | | | | | | Problem: Minor issues related to quickfix. Solution: Set the proper return status for all cases in setqflist() and at test cases for this. Move the "adding" flag outside of FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/86f100dc0922e83bead7bcd5fd2bb2abbf153f46
* | ruby: detect rbenv shims for other versions (#8733)Marco Hinz2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When rbenv is used for managing Ruby installations, just checking for an executable called "neovim-ruby-host" is not enough. It has to be run as well. If it does not return 0, then neovim-ruby-host is merely a shim for another Ruby installation. $ rbenv versions 2.5.0 * 2.5.1 (set by /Users/mhi/.rbenv/version) $ rbenv whence neovim-ruby-host 2.5.0 $ which neovim-ruby-host /Users/mhi/.rbenv/shims/neovim-ruby-host $ neovim-ruby-host rbenv: neovim-ruby-host: command not found The `neovim-ruby-host' command exists in these Ruby versions: 2.5.0 $ echo $? 127 Additionally, the detection logic was moved from provider#ruby#Detect() to s:detect(), because the former is run in the sandbox which forbids calling system().