aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
Commit message (Collapse)AuthorAge
...
* gen_vimdoc.py: support <pre> preformatted text [ci skip]Justin M. Keyes2019-05-01
|
* doc [ci skip]Justin M. Keyes2019-05-01
| | | | ref #9886
* Merge #9951 'vim-patch:8.1.0519: save/restore tag stack'Justin M. Keyes2019-04-30
|\
| * vim-patch:8.1.0519: cannot save and restore the tag stackrolag2019-04-28
| | | | | | | | | | | | | | Problem: Cannot save and restore the tag stack. Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan, closes vim/vim#3604) https://github.com/vim/vim/commit/f49cc60aa802862c595ff619dccc11271633a94b
* | vim-patch:8.1.1231: asking about existing swap file unnecessarilyJustin M. Keyes2019-04-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Asking about existing swap file unnecessarily. Solution: When it is safe, delete the swap file. Remove HAS_SWAP_EXISTS_ACTION, it is always defined. (closes vim/vim#1237) https://github.com/vim/vim/commit/67cf86bfff5fd5224d557d81cb146f46e33b831c N/A: vim-patch:8.1.1232 vim-patch:8.1.1233 vim-patch:8.1.1236
* | vim-patch:8.1.0401: can't get swap name of another bufferJustin M. Keyes2019-04-29
| | | | | | | | | | | | Problem: Can't get swap name of another buffer. Solution: Add swapname(). (Ozaki Kiichi, closes vim/vim#3441) https://github.com/vim/vim/commit/110bd60985c31e8978e9b071e2179f4233ef8557
* | vim-patch:8.1.0314: add swapinfo() "dirty" itemJustin M. Keyes2019-04-29
| | | | | | | | | | | | Problem: Build failure without the +eval feature. (Brenton Horne) Solution: Add #ifdef. Also add the "dirty" item. https://github.com/vim/vim/commit/47ad5656e1e4285a74e7e8e5d0f1f71cd554e25c
* | vim-patch:8.1.0313: information about a swap file is unavailableJustin M. Keyes2019-04-29
| | | | | | | | | | | | Problem: Information about a swap file is unavailable. Solution: Add swapinfo(). (Enzo Ferber) https://github.com/vim/vim/commit/00f123a56585363cd13f062fd3bb123efcfaa664
* | vim-patch:8.0.1563: getwinposx() timeout #9955Jan Edmund Lazo2019-04-29
|/ | | | | Problem: Timeout of getwinposx() can be too short. (lilydjwg) Solution: Add getwinpos(). (closes vim/vim#2689) https://github.com/vim/vim/commit/3f54fd319f6641b4bed478bcc90cdb39ede68e31
* win/defaults: Use "…/nvim-data/site" in 'runtimepath'Justin M. Keyes2019-04-28
| | | | | | | | | | On Windows we store non-config data in "$XDG_DATA_HOME/nvim-data". But the "…/site" items in 'runtimepath' did not correctly point to that location, they used "…/nvim/site". Fix the init logic to use "…/nvim-data/site". closes #9910
* test: 'shadafile' defaultJustin M. Keyes2019-04-27
| | | | ref 773bdd41ec19
* vim-patch:8.0.1510: cannot assert beep #9938Jan Edmund Lazo2019-04-25
| | | | | Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps(). https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
* vim-patch:8.0.0647: syntax highlighting can make cause a freezeJan Edmund Lazo2019-04-23
| | | | | | Problem: Syntax highlighting can make cause a freeze. Solution: Apply 'redrawtime' to syntax highlighting, per window. https://github.com/vim/vim/commit/06f1ed2f78c5c03af95054fc3a8665df39dec362
* gen_vimdoc.py: skip "Parameters" header if all excludedJustin M. Keyes2019-04-22
|
* doc: clarify -EsJustin M. Keyes2019-04-22
|
* doc: UIJustin M. Keyes2019-04-22
|
* docJustin M. Keyes2019-04-22
|
* vim-patch:8.0.0716: "--clean", 'shadafile' #9907Justin M. Keyes2019-04-15
| | | | | | | | | | | | Nvim notes: - Nvim does not support "-u DEFAULTS", that change is omitted. - Also add 'shadafile' as an alias to 'viminfofile'. - Deprecate 'viminfofile'. Problem: Not easy to start Vim cleanly without changing the viminfo file. Not possible to know whether the -i command line flag was used. Solution: Add the --clean command line argument. Add the 'viminfofile' option. Add "-u DEFAULTS". https://github.com/vim/vim/commit/c4da113ef98dcfd6f2a088b1693c0317dcb5bf42
* vim-patch:8.0.1093: various small quickfix issuesJan Edmund Lazo2019-04-14
| | | | | | | | Problem: Various small quickfix issues. Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). function. Add a couple more tests. Update documentation. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b4d5fbabc99917a8069ba32a60c2d73d4f60e128
* vim-patch:8.1.1140: not easy to find out what neighbors a window has (#9873)Marco Hinz2019-04-10
| | | | | | Problem: Not easy to find out what neighbors a window has. Solution: Add more arguments to winnr(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/46ad288b9b2a6eb0430cf802ff5ce68a58629897
* startup: -es/-Es (silent/batch mode): skip swapfile #8540Justin M. Keyes2019-04-10
| | | | To use Nvim as a scripting engine the side-effects of swapfiles and user config should be avoided by default.
* vim-patch:8.0.0702: error in a timer can make Vim unusable #9826Justin M. Keyes2019-04-10
| | | | | | | | | | Problem: An error in a timer can make Vim unusable. Solution: Don't set the error flag or exception from a timer. Stop a timer if it causes an error 3 out of 3 times. Discard an exception caused inside a timer. https://github.com/vim/vim/commit/c577d813b7978345dec4310b2d8f5d5624a681f6 closes #9826
* :stopinsert should leave terminal-mode #9856glacambre2019-04-08
| | | | | | | | | Problem: Calling :stopinsert from RPC while in terminal-mode does not go back to normal-mode. Solution: Implement a check() handler for state_enter(), adapted from insert_check(). Fix #7807
* doc: rewrite *feature-list*Justin M. Keyes2019-04-08
|
* doc [ci skip]Justin M. Keyes2019-04-08
| | | | - README.md: Removed waffle.io because that service is shutting down.
* vim-patch:8.1.1123: avoid filtering autocompleteroxma2019-04-07
| | | | | | | | | | | Author: roxma <roxma@qq.com> Problem: No way to avoid filtering for autocomplete function, causing flickering of the popup menu. Solution: Add the "equal" field to complete items. (closes vim/vim#3887) https://github.com/vim/vim/commit/73655cf0ca37a9aa8f56fc51bb853a8b1f7b43d4 closes #9566
* vim-patch:8.1.0493: argv() and argc() only work on the current argument listMarco Hinz2019-04-04
| | | | | | | Problem: argv() and argc() only work on the current argument list. Solution: Add a window ID argument. (Yegappan Lakshmanan, closes vim/vim#832) https://github.com/vim/vim/commit/e6e3989c1b3f18907a0c305712b867e9a3821369
* vim-patch:8.1.0218: cannot add matches to another windowMarco Hinz2019-04-04
| | | | | | | | Problem: Cannot add matches to another window. (Qiming Zhao) Solution: Add the "window" argument to matchadd() and matchaddpos(). (closes vim/vim#3260) https://github.com/vim/vim/commit/95e51470f10e1ddcc4b2ce53e4f7ff7aa2e58417
* vim-patch:8.1.1093: support for outdated tags format slows down tag parsingMarco Hinz2019-04-02
| | | | | | | Problem: Support for outdated tags format slows down tag parsing. Solution: Remove FEAT_TAG_OLDSTATIC. https://github.com/vim/vim/commit/96428dd4e961332e97d86013a321cedf5fafbed6
* jumplist: avoid extra tail entry #9805Abdelhakeem Osama2019-04-02
| | | fixes #9775
* keymap, terminal: more keycodes #9810Olivier G-R2019-03-31
| | | | | | | | | - input: recognize <kEqual>, <kComma> - terminal.c: If we need to support function key, a change must be made in libvtermkey. Currently, it emulates strictly VT220 terminal, and returning numeric value in 'normal' mode is the expected behaviour. closes #9810
* autocmd: rename MenuPopupChanged to CompleteChanged #9819Qiming zhao2019-03-31
|
* vim-patch:8.1.1068: cannot get all the information about current completionShougo Matsushita2019-03-30
| | | | | | Problem: Cannot get all the information about current completion. Solution: Add complete_info(). (Shougo, Hirohito Higashi, closes vim/vim#4106) https://github.com/vim/vim/commit/fd133323d4e1cc9c0e61c0ce357df4d36ea148e3
* Merge #9792Justin M. Keyes2019-03-29
|\ | | | | | | | | fixes #9791 closes #9792
| * vim-patch:8.1.0539: cannot build without the sandboxAbdelhakeem2019-03-28
| | | | | | | | | | | | | | | | Problem: Cannot build without the sandbox. Solution: Set the secure option instead of using the sandbox. Also restrict the characters from 'spelllang' that are used for LANG.vim. (suggested by Yasuhiro Matsumoto) https://github.com/vim/vim/commit/82e8c92ebef5afcac0c0fdb706ff163f9b3366f7
* | keymap: add more (keypad) keycodes #9793Olivier G-R2019-03-29
|/ | | | | | | | | | | | | | | | | - K_KORIGIN instead of K_KCENTER: This name is similar to what is used by xev. Alternative could be K_KBEGIN as hinted here: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-PC-Style-Function-Keys But I find Begin and Home too similar, and it might induced some confusion. The naming looked related to some old keyboard configuration. - keymap.c: alias KPPeriod to kDel instead of kPoint. This might seems weird, but this is actually the behaviour that should be expected. libtermkey produces "KPPeriod" when num lock is off. To fix this would need to change this name in termkey. closes #9780 closes #9793
* doc, lintJustin M. Keyes2019-03-26
|
* gen_vimdoc.py: render nested lists, etc [ci skip]Justin M. Keyes2019-03-26
| | | | | | | - render_node() is now the main rendering function: it traverses a node and builds the Vim help text recursively. - render_para() is weird and ugly, it is the entry-point for rendering the help text for one docstring'd function.
* doc: mention "pynvim" module renameJustin M. Keyes2019-03-26
| | | | closes #9764
* doc: move ui-wildmenu to deprecated.txt [ci skip]Justin M. Keyes2019-03-26
|
* doc [ci skip]Justin M. Keyes2019-03-26
| | | | closes #9719
* signs: support multiple columns #9295Dan Aloni2019-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #990 closes #9295 - Support for multiple auto-adjusted sign columns. With this change, having more than one sign on a line, and with the 'auto' setting on 'signcolumn', extra columns will shown automatically to accomodate all the existing signs. For example, suppose we have this view: 5147 } 5148 5149 return sign->typenr; 5150 } 5151 } 5152 return 0; 5153 } 5154 We have GitGutter installed, so it tells us about modified lines that are not commmited. So let's change line 5152: 5147 } 5148 5149 return sign->typenr; 5150 } 5151 } ~ 5152 return 0; 5153 } 5154 Now we add a mark over line 5152 using 'ma' in normal mode: 5147 } 5148 5149 return sign->typenr; 5150 } 5151 } a ~ 5152 return 0; 5153 } 5154 Previously, Vim/Nvim would have picked only one of the signs, because there was no support for having multiple signs in a line. - Remove signs from deleted lines. Suppose we have highlights on a group of lines and we delete them: + 6 use std::ops::Deref; --+ 7 use std::borrow::Cow; --+ 8 use std::io::{Cursor}; 9 use proc_macro2::TokenStream; 10 use syn::export::ToTokens; --+ 11 use std::io::Write; >> 12 use std::ops::Deref; Without this change, these signs will momentarily accumulate in the sign column until the plugins wake up to refresh them. + --+ --+ --+ >> 6 Discussion: It may be better to extend the API a bit and allow this to happen for only certain types of signs. For example, VIM marks and vim-gitgutter removal signs may want to be presreved, unlike line additions and linter highlights. - 'signcolumn': support 'auto:NUM' and 'yes:NUM' settings - sort signs according to id, from lowest to highest. If you have git-gutter, vim-signature, and ALE, it would appear in this order: git-gutter - vim-signature - ALE. - recalculate size before screen update - If no space for all signs, prefer the higher ids (while keeping the rendering order from low to high). - Prevent duplicate signs. Duplicate signs were invisible to the user, before using our extended non-standard signcolumn settings. - multi signcols: fix bug related to wrapped lines. In wrapped lines, the wrapped parts of a line did not include the extra columns if they existed. The result was a misdrawing of the wrapped parts. Fix the issue by: 1. initializing the signcol counter to 0 when we are on a wrap boundary 2. allowing for the draw of spaces in that case.
* doc #9751Aman2019-03-20
| | | closes #9750
* vim-patch:8.1.0858: 'indentkeys' and 'cinkeys' defaults are differentJan Edmund Lazo2019-03-17
| | | | | | Problem: 'indentkeys' and 'cinkeys' defaults are different. Solution: Make them the same, update docs. (close vim/vim#3882) https://github.com/vim/vim/commit/ce655743ba5c56c00769e57e6a6608c0088211ab
* Merge pull request #9726 from mhinz/nvim_win_get_configMarco Hinz2019-03-17
|\ | | | | Closes #9723
| * api: numerous small fixesMarco Hinz2019-03-16
| |
| * api: update docMarco Hinz2019-03-16
| |
* | Allow using internal popupmenu or ext_popupmenu for wildmenuBjörn Linse2019-03-16
|/ | | | | Deprecate ext_wildmenu. ext_popupmenu already contains more state (anchor position), and will allow further expansion (info about items).
* Merge pull request #9616 from chemzqm/completechangeBjörn Linse2019-03-16
|\ | | | | add MenuPopupChanged autocmd
| * autocmd: add MenuPopupChanged autocmdchemzqm2019-03-15
| | | | | | | | | | | | Update src/nvim/auevents.lua Co-Authored-By: chemzqm <chemzqm@gmail.com>