aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* Incsubsitution featureKillTheMule2016-10-30
| | | | | | | | | | | | | | | | | Originally implemented by * Clement0 * DesbyP * aym7 * Adrey06 * Robinhola in #4811. Major reworkings and bug fixes by * bfredl Most tests suggested by ZyX-l, suggestions for improvements by oni-link.
* CheckHealth: fix check for tmux escape-time (#5545)J Phani Mahesh2016-10-29
|
* Merge #5535 from justinmk/api_levelJustin M. Keyes2016-10-28
|\ | | | | api: Nvim version + API level
| * api: api_info()['version']Justin M. Keyes2016-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API level is disconnected from NVIM version. The API metadata holds the current API level, and the lowest backwards-compatible level supported by this instance. Release 0.1.6 is the first release that reports the Nvim version and API level. metadata['version'] = { major: 0, minor: 1, patch: 6, api_level: 1, api_compatible: 0, api_prerelease: false, } The API level may remain unchanged across Nvim releases if the API has not changed. When changing the API, - set NVIM_API_PRERELEASE to true - increment NVIM_API_LEVEL (at most once per Nvim version) - adjust NVIM_API_LEVEL_COMPAT if backwards-compatibility was broken api_level_0.mpack was generated from Nvim 0.1.5 with: nvim --api-info
| * api: Nvim version, API level #5386Rui Abreu Ferreira2016-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The API level is disconnected from the NVIM version. The API metadata holds the current API level, and the lowest backwards-compatible level supported by this instance. Release 0.1.6 will be the first release reporting the Nvim version and API level. metadata['version'] = { major: 0, minor: 1, patch: 6, prerelease: true, api_level: 1, api_compatible: 0, } The API level may remain unchanged across Neovim releases if the API has not changed. When changing the API the CMake variable NVIM_API_PRERELEASE is set to true, and NVIM_API_CURRENT/NVIM_API_COMPATIBILITY are incremented accordingly. The functional tests check the API table against fixtures of past versions of Neovim. It compares all the functions in the old table with the new one, it does ignore some metadata attributes that do not alter the function signature or were removed since 0.1.5. Currently the only fixture is 0.mpack, generated from Neovim 0.1.5 with nvim --api-info.
* | CheckHealth: check for sensible.vimJustin M. Keyes2016-10-28
|/
* Merge #5500Justin M. Keyes2016-10-26
|\ | | | | | | Closes #5246
| * vim-patch:7.4.2237Grzegorz Milka2016-10-23
| | | | | | | | | | | | | | Problem: Can't use "." and "$" with ":tab". Solution: Support a range for ":tab". (Hirohito Higashi) https://github.com/vim/vim/commit/9b7f8ce9eb3cb704f8cc14ab659bf86b1d6dc13c
* | modeline: Handle version number overflow. #5450Florian Larysch2016-10-26
| | | | | | | | | | | | | | | | | | | | | | Closes #5449 A file containing the string "vim" followed by a very large number in a modeline location will trigger an overflow in getdigits() which is called by chk_modeline() when trying to parse the version number. Add getdigits_safe(), which does not assert overflows, but reports them to the caller.
* | vim-patch:7.4.2109 (#5518)Michael Ennen2016-10-25
| | | | | | | | | | | | | | | | | | | | vim-patch:7.4.2109 Problem: Setting 'display' to "lastline" is a drastic change, while omitting it results in lots of "@" lines. Solution: Add "truncate" to show "@@@" for a truncated line. https://github.com/vim/vim/commit/ad9c2a08f0509294269a2f11a59a438b944bdd5a
* | CheckHealth: more checksJustin M. Keyes2016-10-25
| |
* | version: has("nvim-1.2.3")Justin M. Keyes2016-10-25
| | | | | | | | Helped-by: Daniel Hahler <git@thequod.de>
* | doc; vim-patch.shJustin M. Keyes2016-10-24
| | | | | | | | | | | | Also include missing changes from: https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810 https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
* | Merge #5483 from Shougo/vim-0648142Justin M. Keyes2016-10-24
|\ \ | |/ |/| vim-patch 0648142, 91c4937, 06d2d38, 2685212, 269f595
| * vim-patch:269f595Shougo Matsushita2016-10-15
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
| * vim-patch:2685212Shougo Matsushita2016-10-15
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
| * vim-patch:06d2d38Shougo Matsushita2016-10-15
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810
| * vim-patch:91c4937Shougo Matsushita2016-10-15
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/91c4937be15b0b743b6bc495df602c1abbff6b87
| * vim-patch:0648142Shougo Matsushita2016-10-15
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
* | man.vim: silence `file` call (#5509)Colin Caine2016-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a file is opened by nvim with ft=man already set, and "has('vim_starting')", ftplugin/man.vim calls 'execute 'file man://'.ref', this causes nvim to display something like this: ```` "<name of original file>" 977, 41017C "man://foo(1)" [Not edited] 977 lines --0%-- Press ENTER or type command to continue ```` This is annoying, because nothing of note has actually happened. Use cases why you might want to read a man page from a file: `MANPAGER='bash -c "nvim -c \"set ft=man\" </dev/tty <(col -bx)"' man git` `nvim -c 'set ft=man' <(man -P cat git)`
* | system('foo &', 'bar'): Show error, don't crash.Justin M. Keyes2016-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #3529 Closes #5241 In Vim, :echo system('cat - &', 'foo') works because for both system() and :! Vim writes input to a temp file and uses shell syntax to redirect the file to the backgrounded `cat` (get_cmd_output() .. make_filter_cmd()). In Nvim, :echo system('cat - &', 'foo') fails because we write the input directly via pipes (shell.c:do_os_system()), but (per POSIX[1]) backgrounded process input stream is redirected from /dev/null (unless overridden by shell redirection; supported only by some shells [2]), so our writes are ignored, the process exits quickly, and if we are writing data larger than the buffer size we'll see EPIPE. This still works: :%w !tee > foo1358.txt & but this does not: :%w !tee foo1358.txt & though it *should* (why doesn't it?) because we still do the temp file dance in do_bang() .. do_filter(). [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02 [2] http://unix.stackexchange.com/a/71218
* | test: system(): backgrounded shell commandJustin M. Keyes2016-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests are essentially affirming a regression vs Vim. In Vim, :echo system('cat - &', 'foo') returns "foo", because Vim internally wraps the command with shell-specific syntax to redirect the streams from /dev/null[1]. That can't work in Nvim because we use pipes directly (instead of temp files) and don't wrap the command with shell-specific redirection syntax. References #3529 References #5241 [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02
* | rplugin: resolve paths in manifest file (#5501)Marco Hinz2016-10-18
| | | | | | | | | | | | | | `:CheckHealth nvim` would always report an outdated manifest if symlinks were used, because the manifest file contains unresolved paths that get compared against resolved paths. Now we resolve paths before they get written to the manifest file.
* | Doc: Ruby omni-completion works (#5497)Marco Hinz2016-10-17
| |
* | CheckHealth: check terminfoJustin M. Keyes2016-10-16
| |
* | CheckHealth: check tmux configurationJustin M. Keyes2016-10-16
| |
* | docJustin M. Keyes2016-10-16
|/
* health/provider.vim: Pass errors through. Give more feedback.Justin M. Keyes2016-10-13
|
* health/provider.vim: Fix system([]) invocations.Justin M. Keyes2016-10-13
| | | | Closes #5435
* Merge #5257 from jbradaric/vim-7.4.1893Justin M. Keyes2016-10-13
|\ | | | | vim-patch:7.4.{1893,1895}
| * vim-patch:7.4.1895Jurica Bradaric2016-10-07
| | | | | | | | | | | | | | | | Problem: Cannot use a window ID where a window number is expected. Solution: Add LOWEST_WIN_ID, so that the window ID can be used where a number is expected. https://github.com/vim/vim/commit/888ccac8902cee186fbd47e971881f6d9b19c068
| * vim-patch:7.4.1893Jurica Bradaric2016-10-07
| | | | | | | | | | | | | | Problem: Cannot easily get the window ID for a buffer. Solution: Add bufwinid(). https://github.com/vim/vim/commit/b3619a90eae2702553ff9494ecc4c9b20c13c224
* | Merge #5418 from Shougo/vim-7.4.2158Justin M. Keyes2016-10-13
|\ \ | | | | | | vim-patch: 7.4.2158, 2162, 2205
| * | vim-patch:7.4.2205Shougo Matsushita2016-10-01
| | | | | | | | | | | | | | | | | | | | | Problem: 'wildignore' always applies to getcompletion(). Solution: Add an option to use 'wildignore' or not. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e9d58a6459687a1228b5aa85bd7b31f8f1e528a8
* | | Merge #5427 from Shougo/vim-7.4.1714Justin M. Keyes2016-10-13
|\ \ \ | | | | | | | | vim-patch: 7.4.1765, 7.4.1714
| * | | vim-patch:7.4.1765Shougo Matsushita2016-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Undo options are not together in the options window. Solution: Put them together. (Gary Johnson) https://github.com/vim/vim/commit/4694a17d1ec08382f996990a7fac1ac60197ec81
| * | | vim-patch:7.4.1714Shougo Matsushita2016-10-04
| |/ / | | | | | | | | | | | | | | | | | | | | | Problem: Non-GUI specific settings in the gvimrc_example file. Solution: Move some settings to the vimrc_example file. Remove setting 'hlsearch' again. (suggested by Hirohito Higashi) https://github.com/vim/vim/commit/54f1b7abf8c48b1dd997202258d1d0673ed4bd29
* | | docJustin M. Keyes2016-10-12
| | |
* | | UpdateRemotePlugins: Discard duplicate paths. (#5464)Shougo2016-10-12
| | |
* | | Merge #5428 'vim-patch: 0c1ff16, 939a1ab, 8067a64'.Justin M. Keyes2016-10-08
|\ \ \
| * | | vim-patch:0c1ff16Shougo Matsushita2016-10-04
| | | | | | | | | | | | | | | | | | | | | | | | updated runtime files. Add avra syntax. https://github.com/vim/vim/commit/0c1ff16b5467f97ce08134fdbc8198127bbe492a
| * | | vim-patch:939a1abShougo Matsushita2016-10-04
| |/ / | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
* | / CheckHealth: choose correct path for the latest version (#5446)Marco Hinz2016-10-08
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple versions of a package are installed, the provider health check could choose a wrong path: /usr/local/lib/python3.5/site-packages/neovim-0.1.10-py3.5.egg-info/PKG-INFO /usr/local/lib/python3.5/site-packages/neovim-0.1.9-py3.5.egg-info/PKG-INFO Prior to this change :CheckHealth could falsely show 0.1.9 as the installed version, since glob() doesn't enforce any predictable order. Now we sort all potential paths numerically in descending order and just look at the first path instead.
* | health: fix Python 2 variable namesMark Lee2016-10-06
| |
* | health: remove duplicate nvim_path declarationMark Lee2016-10-06
| | | | | | | | | | It's the same as the declaration above it, but hardcoded to use python3 and does not redirect stderr.
* | doc/vim_diff.txt (#5432)Justin M. Keyes2016-10-06
|/
* doc: minor comment tweaksJustin M. Keyes2016-09-28
|
* vim-patch:7.4.1604James McCoy2016-09-24
| | | | | | | | | Problem: Although emoji characters are ambiguous width, best is to treat them as full width. Solution: Update the Unicode character tables. Add the 'emoji' options. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/3848e00e0177abdb31bc600234967863ec487233
* doc/deprecated.txt (#5338)Justin M. Keyes2016-09-24
| | | | | | | | | | | `deprecated.txt` is a place for deprecated tags to live. - Encourages aggressive documentation of deprecations without cluttering the main help files. - Provides a single browsable reference of all deprecations. Other changes: - Move tags to doc/vim_diff.txt. - Remove doc/quotes.txt. It has little historical value, except maybe the Larry Wall quote.
* Merge #5254 from KillTheMule/vim-7.4.1952Justin M. Keyes2016-09-18
|\ | | | | vim-patch:7.4.{1952, 1990, 2033, 2284}