aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* man.vim: revert "completion now respects 'wildignorecase'" (#5839)Anmol Sethi2016-12-27
| | | | Instead, a note was added to `:h man.vim` on how 'fileignorecase' controls the case sensitivity of completion.
* man.vim, provider.vim: Avoid shell syntax. #5734ooora2016-12-27
| | | | | | - Improves compatibility with shell=tcsh. - man.vim: split read_page into get_page, put_page. Do not split the window until we know there is going to be output.
* Merge #5832 from nhooyr/man-completeMarco Hinz2016-12-27
|\
| * man.vim: properly handle manpage names with spacesAnmol Sethi2016-12-27
| |
| * man.vim: completion now respects 'wildignorecase'Anmol Sethi2016-12-27
| |
| * man.vim: when completing a fpage, always show sectionAnmol Sethi2016-12-26
| |
* | vim-patch:7.4.2010James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: There is a :cbottom command but no :lbottom command. Solution: Add :lbottom. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
* | vim-patch:7.4.1997James McCoy2016-12-27
|/ | | | | | | Problem: Cannot easily scroll the quickfix window. Solution: Add ":cbottom". https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
* CheckHealth: terminfo: remove "kbs" adviceJustin M. Keyes2016-12-23
|
* syntax/vim.vim: Remove external interface checks (#5785)Shougo2016-12-18
|
* Man: use non-recursive mappings for :Man (#5777)Marco Hinz2016-12-15
| | | | | | | | | | This is a regression introduced by: https://github.com/neovim/neovim/pull/5290/files#diff-8691c83194ea5f1342ecc9f17b4c51d8R46 When the <plug> mappings were changed to using :Man, they should have changed to use `nnoremap` as well. Fixes #5776.
* doc: job_control.txtJustin M. Keyes2016-12-14
| | | | References #5529
* Make VimL code compatible with merged Partial support (#5765)Marco Hinz2016-12-13
| | | Closes #5763.
* Add some tests and cleanup.Michael Ennen2016-12-12
|
* Fixes.Michael Ennen2016-12-12
|
* vim-patch:7.4.1731 Mark as NAMichael Ennen2016-12-12
| | | | Leave a note in vim_diff.txt about it.
* vim-patch:7.4.1842Michael Ennen2016-12-12
| | | | | | | Problem: get() works for Partial but not for Funcref. Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov) https://github.com/vim/vim/commit/03e19a04ac2ca55643663b97b6ab94043233dcbd
* vim-patch:7.4.1839Michael Ennen2016-12-12
| | | | | | | Problem: Cannot get the items stored in a partial. Solution: Support using get() on a partial. https://github.com/vim/vim/commit/2bbf8eff6fab16d86e7bcfc0da1962d31bec7891
* vim-patch:7.4.1836Michael Ennen2016-12-12
| | | | | | | | | Problem: When using a partial on a dictionary it always gets bound to that dictionary. Solution: Make a difference between binding a function to a dictionary explicitly or automatically. https://github.com/vim/vim/commit/1d429610bf9e99a6252be8abbc910d6667e4d1da
* vim-patch:7.4.1559Michael Ennen2016-12-12
| | | | | | | Problem: Passing cookie to a callback is clumsy. Solution: Change function() to take arguments and return a partial. https://github.com/vim/vim/commit/1735bc988c546cc962c5f94792815b4d7cb79710
* Merge #5752 from justinmk/docJustin M. Keyes2016-12-11
|\ | | | | doc: api_info(), typval_encode.h
| * doc/api: Closes #1842Justin M. Keyes2016-10-31
| |
* | CheckHealth: more precise check for sensible.vimJustin M. Keyes2016-12-11
| | | | | | | | Closes #5751
* | os/shell: do_os_system(): Always show last chunk.Justin M. Keyes2016-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ameliorates use-cases like: :!cat foo.txt :make where the user is interested in the last few lines of output. Try these shell-based ex-commands before/after this commit: :grep -r '' * :make :!yes :!grep -r '' * :!git grep '' :!cat foo :!echo foo :!while true; do date; done :!for i in `seq 1 20000`; do echo XXXXXXXXXX $i; done In all cases the last few lines of the command should always be shown, regardless of where throttling was triggered.
* | os/shell: Throttle :! output, pulse "..." message.Justin M. Keyes2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Periodically skip :! spam. This is a "cheat" that works for all UIs and greatly improves responsiveness when :! spams MB or GB of output: :!yes :!while true; do date; done :!git grep '' :grep -r '' * After ~10KB of data is seen from a single :! invocation, output will be skipped for ~1s and three dots "..." will pulse in the bottom-left. Thereafter the behavior alternates at every: * 10KB received * ~1s throttled This also avoids out-of-memory which could happen with large :! outputs. Note: This commit does not change the behavior of execute(':!foo'). execute(':!foo') returns the string ':!foo^M', it captures *only* Vim messages, *not* shell command output. Vim behaves the same way. Use system('foo') for capturing shell command output. Closes #1234 Helped-by: oni-link <knil.ino@gmail.com>
* | Health: rework syntax (#5744)Marco Hinz2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - By re-enabling code blocks (every line that doesn't begin with a "-" and is indented by at least 4 spaces), we prevent the Markdown syntax to evaluate "_" as beginning for italic text. That's the case for `:CheckHealth deoplete` for instance. It would output: $ cat /tmp/log_{PID} Since the deoplete check gets run first, almost all of the following `:CheckHealth` output would be italic. - Since we re-enable code blocks, we now have to tell our custom syntax that it can be part of markdownCodeBlock as well. Otherwise there would be no highlithing for our keywords ERROR, INFO, etc. after 4 spaces of indent. - Since we do the above anyway, we make it work for mkdListItemLine as well. That's a highlight group from `plasticboy/vim-markdown` opposed to the shipped markdown syntax (which essentially is `tpope/vim-markdown`). Before this patch there was no highlighting at all in the `:CheckHealth` output.
* | Health: match syntax keyword case exactly (#5741)Marco Hinz2016-12-09
| | | | | | | | This prevents the string "error" within error messages to be highlighted as healthError.
* | Remove g:python{,3}_host_skip_check (#5738)Marco Hinz2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option simplifies the configuration options: 1) `g:python{,3}_host_prog` is not set. Neovim tries its best to find a suitable interpreter. This means calling exepath(), potentially multiple times, and a system('python -c ...') with the first found interpreter, to get the Python version. 2) `g:python{,3}_host_prog` is set. Avoids everything of the above. No safety checks, no training wheels. Fast host startup time!
* | Merge pull request #5659 from brcolow/vim-7.4.1685James McCoy2016-12-08
|\ \ | | | | | | vim-patch:7.4.[1685,2163,2217,2269],8.0.00[33,40]
| * | vim-patch:7.4.1685Michael Ennen2016-12-06
| | | | | | | | | | | | | | | | | | | | | Problem: There is no easy way to get all the information about a match. Solution: Add matchstrpos(). (Ozaki Kiichi) https://github.com/vim/vim/commit/7fed5c18f8577b75404b80d8b9a9907b1bbd27e4
* | | doc: 'shelltemp'Justin M. Keyes2016-12-07
|/ / | | | | | | Closes #5706
* | Health: show :help + tags (#5719)Marco Hinz2016-12-05
| |
* | Merge pull request #5707 from jamessan/moar-cleaningJames McCoy2016-12-03
|\ \ | | | | | | build: Make clean targets more thorough
| * | build: Make clean targets more thoroughJames McCoy2016-12-02
| | |
* | | ftplugin/man: Finish early if &filetype is not manJames McCoy2016-12-03
|/ / | | | | | | | | | | | | Many people have `runtime ftplugin/man.vim` in their init file, as was required in Vim to have the `:Man` command generally available. 7a4d069b removed the &filetype check, which caused these setups to always create a blank `man://` buffer.
* | doc: Remove obsolete reference to `rgb_file`.Justin M. Keyes2016-12-01
| | | | | | | | Closes #5695
* | Merge pull request #5675 from brcolow/vim-7.4.1738James McCoy2016-12-01
|\ \ | | | | | | vim-patch:7.4.17[35,38,39]
| * | vim-patch:7.4.1735Michael Ennen2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not possible to only see part of the message history. It is not possible to clear messages. Solution: Add a count to ":messages" and a clear argument. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
* | | Add v:exitingMarco Hinz2016-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Contains the exit value nvim will use. Before exiting, it is v:null. That way jobs or autocmds (in VimLeavePre or VimLeave) can check if Neovim is about to quit and with what exit value. Closes #4666.
* | | Merge pull request #5669 from chemzqm/add-cmdline-mode-rpcBjörn Linse2016-12-01
|\ \ \ | | | | | | | | Add cmdline mode to ui_mode_change
| * | | add cmdline mode to modechange of RPC and testschemzqm2016-11-30
| |/ / | | | | | | | | | | | | | | | | | | | | | use set_cursor_shape_bar for cmdline mode fix test of screen_basic_spec.lua & screen.lua comment fix
* / / vim-patch:7.4.2071Michael Ennen2016-11-29
|/ / | | | | | | | | | | | | Problem: The return value of type() is difficult to use. Solution: Define v:t_ constants. (Ken Takata) https://github.com/vim/vim/commit/f562e72df726c6191fa305e1c0a113f1cfb87f76
* | man.vim: do not assume ftplugin is sourced before syntaxAnmol Sethi2016-11-19
| | | | | | | | Fixes #5574
* | man.vim: no guarantee that the first line contains anything usefulAnmol Sethi2016-11-18
| | | | | | | | Fixes #5628
* | jobs: ensure calling jobclose() on a pty job sends SIGHUP. Closes #5619Björn Linse2016-11-17
| |
* | Merge pull request #5600 from jamessan/vim-7.4.1640James McCoy2016-11-16
|\ \ | | | | | | vim-patch:7.4.1640,7.4.1647,7.4.1650,7.4.1664
| * | 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.1640James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when an autocommand changes a quickfix list. (Dominique) Solution: Check wether an entry is still valid. (Yegappan Lakshmanan, Hirohito Higashi) https://github.com/vim/vim/commit/ffec3c53496d49668669deabc0724ec78e2274fd
* | | Merge pull request #5614 from Shougo/vim-7.4.2251James McCoy2016-11-15
|\ \ \ | |/ / |/| | | | | vim-patch:7.4.2251
| * | vim-patch:7.4.2251Shougo Matsushita2016-11-16
| | | | | | | | | | | | | | | | | | | | | Problem: In rare cases diffing 4 buffers is not enough. Solution: Raise the limit to 8. (closes vim/vim#1000) https://github.com/vim/vim/commit/015efc32c1add6269099364835ddf85ff257b3c6