aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | opt: reduce hardcoded values (#13783)Sirisak Lueangsaksri2021-01-20
| | | |
| * | | opt: minimum sign size for auto (#13783)Sirisak Lueangsaksri2021-01-20
| | | |
* | | | Merge pull request #13818 from janlazo/vim-8.2.2379Jan Edmund Lazo2021-01-22
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.{2375,2379,2384,2385}
| * | | | vim-patch:8.2.2385: "gj" and "gk" do not work correctly when inside a foldJan Edmund Lazo2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "gj" and "gk" do not work correctly when inside a fold. Solution: Move check for folding. (closes vim/vim#7724, closes vim/vim#4095) https://github.com/vim/vim/commit/e71996bd0865659bde5450f466bc3e53e83431b2
| * | | | vim-patch:8.2.2375: test for RGB color skipped in the terminalJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for RGB color skipped in the terminal. Solution: Run the GUI if possible. https://github.com/vim/vim/commit/09fbedc8dc3adc0a7adf2093916911e633cfa626 Cherry-pick Test_highlight_RGB_color() from patch v8.2.1077 to port this patch.
| * | | | vim-patch:8.2.2384: turtle filetype not recognizedJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Turtle filetype not recognized. Solution: Add a rule to detect turtle files. (closes vim/vim#7722) https://github.com/vim/vim/commit/5e6a7aa2b26077775906eb8411952dc6259694de
| * | | | vim-patch:8.2.2379: do spell suggestions twice if 'spellsuggest' contains numberJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Finding spell suggestions twice if 'spellsuggest' contains number. Solution: Only do internal suggestions once. (closes vim/vim#7713) https://github.com/vim/vim/commit/77a849c4b3d73c228013a047913c90834a93b4f6
* | | | | Missing argument for package.loadlib()matveyt2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow for foo.bar.baz module name Make luaopen_module() name compatible with Lua 5.1
* | | | | Merge pull request #13813 from notomo/fix-nvim-echo-clearBjörn Linse2021-01-22
|\ \ \ \ \ | | | | | | | | | | | | api(echo): should clear cmdline before echo
| * | | | | api(echo): should clear cmdline before echonotomo2021-01-21
| | | | | |
* | | | | | Merge pull request #13679 from chentau/gravityBjörn Linse2021-01-22
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Extmarks api: allow for gravity
| * | | | | change end_right_gravity error behaviorchentau2021-01-12
| | | | | |
| * | | | | change gravity to be a boolean flag, and add corresponding flag for end ↵chentau2021-01-05
| | | | | | | | | | | | | | | | | | | | | | | | position of extmark
| * | | | | allow for extmark gravity to be set through apichentau2021-01-03
| | | | | |
* | | | | | Update Ukrainian translation (#13785)Anatolii Sakhnik2021-01-21
| |/ / / / |/| | | |
* | | | | api: nvim_echonotomo2021-01-20
| |/ / / |/| | |
* | | | Merge pull request #13767 from srafi1/rm-restricted-mode-docsJan Edmund Lazo2021-01-18
|\ \ \ \ | |_|/ / |/| | | Remove -Z flag from --help message
| * | | remove -Z line translationssrafi12021-01-15
| | | |
| * | | remove -Z entry from --helpsrafi12021-01-15
| | | |
* | | | api: add vim.version (#13762)Michael Lingelbach2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | retrun a structured version dict :lua print(vim.inspect(vim.version())) { api_compatible = 0, api_level = 7, api_prerelease = true, major = 0, minor = 5, patch = 0 }
* | | | vim-patch:8.2.2368: insufficient tests for setting optionsJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient tests for setting options. Solution: Add a few tests. (Dominique Pellé, closes vim/vim#7695) https://github.com/vim/vim/commit/85773bf32b51cbe7e971c5ac11cb9c743bb7a38a Cherry-pick some test cases for Test_set_error() from patches v8.2.0540, v8.2.0551.
* | | | vim-patch:8.2.2361: Vim9: no highlight for "s///gc" when using 'opfunc'Jan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim9: no highlight for "s///gc" when using 'opfunc'. Solution: Reset 'lazyredraw' temporarily. (closes vim/vim#7687) https://github.com/vim/vim/commit/7c886db915035bc064ca307f02c34ae9d99cc733
* | | | vim-patch:8.2.2366: when using ":sleep" the cursor is always displayedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes vim/vim#7688) https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429 Cursor showing/hiding is moved from core to TUI. ":sleep!" behaves the same as ":sleep".
* | | | vim-patch:8.2.2360: test leaves file behindJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test leaves file behind. Solution: Delete the right file. (Dominique Pellé, closes vim/vim#7689) https://github.com/vim/vim/commit/a3b494d6afa79aedce42fa4ecc7ef0dbae79e37e
* | | | vim-patch:8.2.2355: stray test failure on AppveyorJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Stray test failure on Appveyor. Solution: Finish insert command. https://github.com/vim/vim/commit/97c6943e11516711541848e51db3cc2ace25bbb2
* | | | vim-patch:8.2.2353: spartql files are not detectedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Spartql files are not detected. Solution: Add the sparql filetype. (closes vim/vim#7679) https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
* | | | log.c: warn instead of error on failed stdpath('cache') creationMichael Lingelbach2021-01-16
| | | |
* | | | logs: make kXDGCacheHome if it doesn't exist (#13758)Michael Lingelbach2021-01-16
|/ / /
* | | Merge pull request #13750 from janlazo/vim-8.2.2329Jan Edmund Lazo2021-01-14
|\ \ \ | | | | | | | | vim-patch:8.2.{2329,2334}
| * | | vim-patch:8.2.2334: Pascal-like filetypes not always detectedJan Edmund Lazo2021-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Pascal-like filetypes not always detected. Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns, closes vim/vim#7662) https://github.com/vim/vim/commit/a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9
| * | | vim-patch:8.2.2329: not all ways Vim can be started are testedJan Edmund Lazo2021-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all ways Vim can be started are tested. Solution: Add a test for different program names. (Dominique Pellé, closes vim/vim#7651) https://github.com/vim/vim/commit/df4c9af7e73aa5d0fb5bf4c0e19a39b4e1d73517
* | | | logging: move to XDG_CACHE_HOME (#13739)Michael Lingelbach2021-01-13
|/ / / | | | | | | | | | | | | while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
* | | Use uv_os_homedir and current directory as backup when $HOME is not set (#13657)ffanzhang2021-01-10
| | | | | | | | | | | | | | | | | | Close https://github.com/neovim/neovim/issues/8614 Use uv_os_homedir and current directory as backup if HOME env is not set. Allocate homedir only if var is not NULL.
* | | Merge pull request #13704 from teto/fix-fold-listMatthieu Coudron2021-01-10
|\ \ \ | | | | | | | | screen.c: fix last character on foldtext
| * | | screen.c: fix an issue with wrap and foldsMatthieu Coudron2021-01-07
| | | | | | | | | | | | | | | | | | | | | | | | Before this commit, a folded line would display a trailing character with bin/nvim -u ~/test.vim --cmd "hi NonText ctermbg=3" --cmd "hi Search ctermbg=2" --cmd "set listchars+=extends:X nowrap list" ~/test.txt
| * | | screen.c: fix last character on foldtextMatthieu Coudron2021-01-06
| | | | | | | | | | | | | | | | | | | | Last character on a folded line was sometimes highlighted with the "Search" highlight. Solves this along with some remaining "curwin".
* | | | Merge pull request #13689 from janlazo/vim-8.2.0050Matthieu Coudron2021-01-06
|\ \ \ \ | |/ / / |/| | | vim-patch:8.1.{1731,1764,2111,2126},8.2.{50,590}
| * | | vim-patch:8.2.0590: no 'backspace' value allows ignoring the insertion pointJan Edmund Lazo2021-01-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940) https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
| * | | test/old: restore test_backspace_opt.vimJan Edmund Lazo2021-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Porting it to test/functional/legacy/backspace_opt_spec.lua was a mistake. Tests pass after commenting out some lines for Vi compatibility. File is copied from Vim as of patch v8.2.0540. Patch v8.2.0540 cannot be fully ported yet. This file is a prequisite for future v8.2.x patches.
| * | | vim-patch:8.2.0050: after deleting a file mark it is still in viminfoJan Edmund Lazo2021-01-05
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: After deleting a file mark it is still in viminfo. Solution: When a file mark was deleted more recently than the mark in the merged viminfo file was updated, do not store the mark. (Pavol Juhas, closes vim/vim#5401, closes vim/vim#1339) https://github.com/vim/vim/commit/8cd6cd8087ccf08e4303dbf5f732fc4b82b917e1 Neovim's ShaDa is incompatible with Vim's "viminfo" so "viminfo" tests fail. N/A patches for version.c: vim-patch:8.1.1731: command line history not read from viminfo on startup Problem: Command line history not read from viminfo on startup. Solution: Get history length after initializing it. https://github.com/vim/vim/commit/26b654a5df9414e43734eb4c956b67c331d70a50 vim-patch:8.1.1764: ":browse oldfiles" is not tested Problem: ":browse oldfiles" is not tested. Solution: Add a test. https://github.com/vim/vim/commit/5328cb8986d2620f45b41acf28778f8ce2f8cac1 vim-patch:8.1.2111: viminfo file not sufficiently tested Problem: Viminfo file not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5009) https://github.com/vim/vim/commit/2a8d3b8997d4fe94bc9c02ae04e873eab2f13b09 vim-patch:8.1.2126: viminfo not sufficiently tested Problem: Viminfo not sufficiently tested. Solution: Add more test cases. Clean up comments. (Yegappan Lakshmanan, closes vim/vim#5032) https://github.com/vim/vim/commit/6bd1d7706766a7899904163e8fd55ea117fb1953
* / | screen.c: fix display of signcolumn=auto in diffs (#13688)Matthieu Coudron2021-01-05
|/ / | | | | | | | | | | | | | | | | | | sign_id was not reset when filler lines were involved, thus causing a bad alignment between columns. You could check that before this commit, bin/nvim -u NORC --cmd "setglobal signcolumn=yes:4" --cmd "set diffopt+=foldcolumn:0" -d ../test1.txt ../test2.txt would result in an irregular column width.
* | input: consider "-- more --" state to be blocking, fixes #11899Björn Linse2021-01-04
| |
* | vim-patch:8.2.0861: cannot easily get all the current marks (#13676)Jan Edmund Lazo2021-01-03
| | | | | | | | | | | | | | | | | | | | | | Problem: Cannot easily get all the current marks. Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032) https://github.com/vim/vim/commit/cfb4b47de08e4437c692d382067dc1692cd83c23 Cherry-pick the column number fix from patch v8.2.0871 because patch v8.2.0871 cannot be fully ported without the method patches. Co-authored-by: Peter Wolf <pwolf2310@gmail.com>
* | fix: check for valid buffer handles in modify_keymap (#13543)Thomas Vigouroux2021-01-03
| | | | | | | | Fixes #13541 Neovim would crash when trying to map a key on non existant buffer
* | buffer updates: mark sorted region as changed.Björn Linse2021-01-03
| | | | | | | | | | NB: currently this invalidates all extmarks inside the region. Later on within-line extmarks could be preserved
* | Merge pull request #13665 from janlazo/vim-8.2.0917Matthieu Coudron2021-01-03
|\ \ | | | | | | vim-patch:8.1.{1667,1672,1822},8.2.{407,917}
| * | vim-patch:8.1.1822: confusing error message when range is not allowedJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | Problem: Confusing error message when range is not allowed. Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for consistency. https://github.com/vim/vim/commit/0acae7acc40b9f12bff88d5e1dae494a761fec07
| * | vim-patch:8.2.0407: no early check if :find and :sfind have an argumentJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No early check if :find and :sfind have an argument. Solution: Add EX_NEEDARG. https://github.com/vim/vim/commit/2d10cd478047df8ba144d4b0fcc46480993af57f Cherry-pick Test_find_cmd() from patch v8.2.0270. Use "exe 'cd ' . save_dir" pattern because patches v8.1.1291, v8.1.2278 are not ported yet. Cherry-pick modeline from patch v8.1.1432.
| * | vim-patch:8.1.1667: flags for Ex commands may clash with other symbolsJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Flags for Ex commands may clash with other symbols. Solution: Prepend with EX_. https://github.com/vim/vim/commit/8071cb2c646c9d38dcd4e3ccd377dce07705f031 N/A patches for version.c: vim-patch:8.1.1672: "make cmdidxs" doesn't work Problem: "make cmdidxs" doesn't work. Solution: Update macro names. (Naruhiko Nishino, closes vim/vim#4660) https://github.com/vim/vim/commit/d94ac0caca12c6ceb54b07fc932edba84a5f60f2 Error message for src/nvim/ex_cmds.lua which omits the "EX_" prefix for the flags.
| * | vim-patch:8.2.0917: quickfix entries do not suport a "note" typeJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | Problem: Quickfix entries do not suport a "note" type. Solution: Add support for "note". (partly by Yegappan Lakshmanan, closes vim/vim#5527, closes vim/vim#6216) https://github.com/vim/vim/commit/e928366de5deca359fad779a4f740db703296302