aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
Commit message (Collapse)AuthorAge
* jobs: ensure calling jobclose() on a pty job sends SIGHUP. Closes #5619Björn Linse2016-11-17
|
* Bump all nvim-specific error codes above E5000James McCoy2016-11-15
| | | | | | | | | | In order to not conflict with new error codes that Vim adds, all Neovim error codes should be above 5000. The three existing sub-5000 error codes (E926, E951, and E952) are now E50003, E5004, and E5005 respectively. E953 was removed in 6167ce6df2753d5474ad49aea19f5957128ab015, so just remove it from the help.
* vim-patch:7.4.1894James McCoy2016-11-15
| | | | | | | Problem: Cannot get the window ID for a mouse click. Solution: Add v:mouse_winid. https://github.com/vim/vim/commit/511972d810ea490955161ff5097ec2f57919ceaf
* vim-patch:7.4.1658James McCoy2016-11-14
| | | | | | | | Problem: A plugin does not know when VimEnter autocommands were already triggered. Solution: Add the v:vim_did_enter variable. https://github.com/vim/vim/commit/1473551a4457d4920b235eeeb9f279e196ee7225
* encoding: update documentationBjörn Linse2016-11-05
|
* version: has("nvim-1.2.3")Justin M. Keyes2016-10-25
| | | | Helped-by: Daniel Hahler <git@thequod.de>
* Merge #5483 from Shougo/vim-0648142Justin M. Keyes2016-10-24
|\ | | | | vim-patch 0648142, 91c4937, 06d2d38, 2685212, 269f595
| * 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
* | 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
* 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
* | 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
* 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.
* vim-patch:7.4.1558 (#5333)Justin M. Keyes2016-09-13
| | | | | | Problem: It is not easy to find out what windows display a buffer. Solution: Add win_findbuf(). https://github.com/vim/vim/commit/9cdf86b86f5fdb5a45b682f336846f9d9a9c6f1f
* docJustin M. Keyes2016-09-06
|
* doc: clarify reltime()Justin M. Keyes2016-09-05
| | | | Closes #5301
* api: consistently use nvim_ prefix and update documentationBjörn Linse2016-08-31
|
* version bumpJustin M. Keyes2016-08-22
|
* job control: reuse common job code for rpc jobsBjörn Linse2016-08-20
| | | | This makes stderr and exit callbacks work for rpc jobs
* vim-patch:7.4.1557 (#5117)prollings2016-08-04
| | | | | | Problem: Windows cannot be identified. Solution: Add a unique window number to each window and functions to use it. https://github.com/vim/vim/commit/86edef664efccbfe685906c854b9cdd04e56f2d5
* [RFC] vim-patch:7.4.2011, vim-patch:7.4.2012, vim-patch:7.4.2066 #5106Shougo Matsushita2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.2011 Problem: It is not easy to get a list of command arguments. Solution: Add getcompletion(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/aa4d73235bf4deee167aa5314b89ae3d3db334b7 vim-patch:7.4.2012 Problem: Test for getcompletion() does not pass on all systems. Solution: Only test what is supported. https://github.com/vim/vim/commit/0d3e24be5686c0710aa3c6671e4c626d6cb21a5f vim-patch:7.4.2066 Problem: getcompletion() not well tested. Solution: Add more testing. https://github.com/vim/vim/commit/c1fb763184c8ae82300357867fa2070aa94366e9
* eval.c: rename capture() to execute() (#5132)Justin M. Keyes2016-07-31
|
* vim-patch:7.4.1703James McCoy2016-07-23
| | | | | | | Problem: Can't assert for not equal and not matching. Solution: Add assert_notmatch() and assert_notequal(). https://github.com/vim/vim/commit/b50e5f56861deb867478997397f7c784a7043233
* vim-patch:7.4.1663James McCoy2016-07-23
| | | | | | | Problem: In tests it's often useful to check if a pattern matches. Solution: Add assert_match(). https://github.com/vim/vim/commit/ea6553bec340920d8a09c7210cdc2d218e25ace2
* vim-patch:7.4.1546Patrick2016-07-13
| | | | | | | | | | Problem: Sticky type checking is more annoying than useful. Solution: Remove the error for changing a variable type. https://github.com/vim/vim/commit/f6f32c38bf3319144a84a01a154c8c91939e7acf Note: There are a bunch of other changes to eval.txt that I believe are N/A and not related to this patch.
* vim-patch:03413f4James McCoy2016-07-08
| | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf Ignore changes to * doc/Makefile, doc/help.txt: Related to Vim's version8 documentation * doc/gui_x11.txt, doc/todo.txt, doc/vim.1, gvim.desktop, vim.desktop: Irrelevant to Neovim * doc/quickref.txt, doc/options.txt: As of yet unported 'emoji' * doc/tags, syntax/vim.vim: Generated at build time
* vim-patch:7db8f6fJames McCoy2016-07-08
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/7db8f6f4f85e5d0526d23107b2a5e2334dc23354 Ignore changes to * doc/tags: Generated at build time * doc/channel.txt, doc/todo.txt: Irrelevant to Neovim * pack/dist/opt/matchit/doc/matchit.txt: matchit is enabled by default, so description of how to enable isn't needed.
* vim-patch:4f3f668James McCoy2016-07-08
| | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/4f3f668c8486444e53163c29d2fc79bf47eb3c82 Ignore changes to * doc/channel.txt: Channel related docs * doc/tags: Generated at build time * doc/todo.txt: Irrelevant to Neovim
* vim-patch:77cdfd1James McCoy2016-07-08
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151 Ignore changes to: * doc/channel.txt, doc/eval.txt: Channel related docs * doc/options.txt: GUI related docs * doc/tags: Generated at build time * doc/todo.txt: Irrelevant for Neovim
* vim-patch:5f148ecJames McCoy2016-07-08
| | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/5f148ec0b5a6cedd9129b3abac351034b83cc4f7 Ignore changes to * doc/channel.txt, doc/eval.txt: Channel related docs * doc/tags: Generated at build time * doc/todo.txt: Irrelevant to Neovim
* vim-patch:328da0dJames McCoy2016-07-08
| | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69 Ignore changes to * doc/channel.txt, doc/eval.txt: Channel related docs * doc/tags: Generated at build time * doc/todo.txt: Irrelevant to Neovim
* vim-patch:f391327James McCoy2016-07-08
| | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/f391327adbbffb11180cf6038a92af1ed144e907 Ignore changes to * doc/todo.txt: Irrelevant for Neovim * doc/channel.txt: Channel docs * doc/tags, syntax/vim.vim: Generated at build time
* docJustin M. Keyes2016-07-03
| | | | Closes #4777
* Merge #4697 'capture() function'.Justin M. Keyes2016-06-20
|\
| * Port capture() functionShougo Matsushita2016-05-27
| | | | | | | | https://groups.google.com/forum/#!msg/vim_dev/H3Z3ChSUh_4/beZs6KzYdBsJ
* | doc: api_infoJustin M. Keyes2016-06-18
| |
* | eval: add api_info()Björn Linse2016-06-17
| | | | | | | | | | Previously, the api metadata was only accessible frow within nvim as msgpackparse(systemlist('nvim --api-info'))[0]
* | Merge #4923 from justinmk/docJustin M. Keyes2016-06-16
|\ \ | | | | | | doc: cleanup
| * | doc: uppercase RPCJustin M. Keyes2016-06-15
| | |
| * | doc/terminal: cleanupJustin M. Keyes2016-06-15
| | |
| * | doc: msgpack_rpc: De-emphasize the transport protocol.Justin M. Keyes2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tighten our jargon, avoid mentioning "msgpack" everywhere we mention the RPC API. Prefer "RPC API" when speaking about the remote API. Though it's conceivable that we may one day support some protocol other than msgpack, that isn't relevant to most of our discussion of the API, including this document. The file name msgpack_rpc.txt is preserved to avoid totally breaking URLs.
* | | vim-patch:7.4.1126James McCoy2016-06-15
|/ / | | | | | | | | | | | | | | Problem: Can only get the directory of the current window. Solution: Add window and tab arguments to getcwd() and haslocaldir(). (Thinca, Hirohito Higashi) https://github.com/vim/vim/commit/c970330676eaae7ba7cd05cfa46df5a413853ef9
* | Merge #4813 'runtime: clipboard: start daemons in /'.Justin M. Keyes2016-06-10
|\ \
| * | doc: update docs to reflect new cwd optionAleksa Sarai2016-06-07
| | | | | | | | | | | | | | | | | | | | | The termopen() docs don't need to be updated because they link to jobstart(). Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
* | | Merge pull request #4804 from brcolow/vim-7.4.1150Justin M. Keyes2016-06-08
|\ \ \ | | | | | | | | vim-patch:7.4.{1150,1151}
| * | | vim-patch:7.4.1150Michael Ennen2016-06-04
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'langmap' applies to the first character typed in Select mode. (David Watson) Solution: Check for SELECTMODE. (Christian Brabandt, closes #572) Add the 'x' flag to feedkeys(). https://github.com/vim/vim/commit/25281634cda03ce302aaf9f906a9520b5f81f91e
* | | vim-patch:e0fa374James McCoy2016-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/e0fa3742ead676a3074a10edadbc955e1a89153d Ignore changes to * doc/channel.txt: Channel related docs * doc/netbeans.txt, doc/os_dos.txt, doc/todo.txt: Not relevant to Neovim * doc/tags: Generated at build time