aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* man.vim: Avoid empty argument when MANWIDTH is set. (#5882)Marcus Fritzsch2017-01-06
|
* provider: add Python 3.6 (#5886)Marco Hinz2017-01-05
|
* Merge #5874 from ZyX-I/fix-5482Justin M. Keyes2017-01-04
|\ | | | | Fix plugin which opens ShaDa files
| * plugin/shada: Handle NUL characters with intchar correctlyZyX2017-01-04
| | | | | | Fixes #5482
| * plugin/msgpack: Support character constants like '\0'ZyX2017-01-04
| |
| * doc: Document that character constants are supportedZyX2017-01-04
| |
* | provider/clipboard.vim: fallback if xsel is broken (#5868)Justin M. Keyes2017-01-04
| | | | | | | | | | | | Old versions of `xsel` do not support some required features. Fall back to `xclip` then. Closes #5853
* | man.vim: do not set ft=man on files with extension man (#5831)Anmol Sethi2017-01-04
|/ | | Closes #5806
* Merge #5872 justinmk/test_autochdirJustin M. Keyes2017-01-04
|\
| * refactor: Remove VimL function `test()`Justin M. Keyes2017-01-04
| | | | | | | | vim-patch:7.4.1838
| * refactor: Remove VimL function `test_autochdir()`Justin M. Keyes2017-01-04
| | | | | | | | | | | | | | - Eliminate global test_autochdir. - Eliminate VimL function test_autochdir() - Use a lua test instead. Fails correctly after reverting 0c4347997954 / vim-patch:7.4.2015.
| * vim-patch:6f1d9aShougo Matsushita2017-01-02
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
* | clipboard: show error message only once and put in history (#5870)Marco Hinz2017-01-04
| |
* | syntax/ruby.vim, perl.vim: Preserve 'foldmethod'. (#5858)Shougo2017-01-03
| |
* | automation: Generate API documentation (#5798)Tommy Allen2017-01-03
|/ | | | | runtime: Add underscore to {} helpSpecial syntax pattern docs: Added generated api-funcs.txt
* Merge pull request #5613 from jamessan/vim-7.4.2183James McCoy2017-01-01
|\ | | | | vim-patch:7.4.2183,7.4.2194,7.4.2201,7.4.2204,0952131,7.4.2215,7.4.2225,7.4.2226,7.4.2272,7.4.2273,7.4.2277,7.4.2294
| * vim-patch:7.4.2273James McCoy2016-12-28
| | | | | | | | | | | | | | | | Problem: getwininfo() and getbufinfo() are inefficient. Solution: Do not make a copy of all window/buffer-local options. Make it possible to get them with gettabwinvar() or getbufvar(). https://github.com/vim/vim/commit/3056735ae8a366aa7fcb51872520895251858637
| * vim-patch:7.4.2226James McCoy2016-12-28
| | | | | | | | | | | | | | | | Problem: The field names used by getbufinfo(), gettabinfo() and getwininfo() are not consistent. Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/339288377072f66ec88e21903e75a82d23ffbf4f
| * vim-patch:7.4.2215James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | Problem: It's not easy to find out if a window is a quickfix or location list window. Solution: Add "loclist" and "quickfix" entries to the dict returnec by getwininfo(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/386600f0cbcb8add099c723cf84634f46df2f788
| * vim-patch:0952131James McCoy2016-12-28
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/0952131376a517fc12dc5ae908a97018b4ee23f0
| * vim-patch:7.4.2204James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | Problem: It is not easy to get information about buffers, windows and tabpages. Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
| * vim-patch:7.4.2201Chris Lucas2016-12-28
| | | | | | | | | | | | | | Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt) https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
* | man.vim: remove newline from man errors (#5852)Anmol Sethi2017-01-01
|/
* 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.