aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
Commit message (Collapse)AuthorAge
...
* [RDY] Fix click on foldcolumn if it has tabline (#13982)tk-shirasaka2021-03-04
| | | | | | | * Fix click on foldcolumn if it has tabline * Fixes to correctly determine if tablie was clicked when multigrid is enabled * Separate foldcolumn checks into functions * Add test case for click on foldcolumn with split window * Fix foldcolumn click used nvim_input() on multigrid enabled
* pos: define MAXCOL to INT_MAXJan Edmund Lazo2021-02-23
| | | | | Partial port of patch v8.1.0953. Remove useless casts on MAXCOL.
* vim-patch:8.2.2548: May get stuck in the cmdline window using :normalJan Edmund Lazo2021-02-23
| | | | | | Problem: May get stuck in the cmdline window using :normal. Solution: Have nv_esc() return K_IGNORE. https://github.com/vim/vim/commit/7d41410a455ba62128655beb91c35d3fba299287
* vim-patch:8.2.2547: "%" command not accurate for big filesJan Edmund Lazo2021-02-23
| | | | | | | | | | | | | | | | Problem: "%" command not accurate for big files. Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé, closes vim/vim#7889) https://github.com/vim/vim/commit/2c6553498e790604f50016d8435403523a2576d6 N/A patches for version.c: vim-patch:8.2.2545: errors and crash when terminal window is zero height Problem: Errors and crash when terminal window is zero height. (Leonid V. Fedorenchik) Solution: Do not resize when width or height is zero. (closes vim/vim#7890) https://github.com/vim/vim/commit/eba13e4ea28f133ff65f6b426428f49a9bd711b0
* 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
* Merge pull request #13592 from bfredl/setmouseBjörn Linse2021-01-01
|\ | | | | ui: make 'mouse' handling in external UI more consistent
| * ui: make 'mouse' handling in external UI more consistentBjörn Linse2021-01-01
| | | | | | | | | | | | | | | | | | before the behaviour of 'mouse' was inconsistent in external UI, as some remapping logic would check has_mouse() and others don't (no difference in TUI or vim classic). With this change, the behaviour is consistently up to the UI decide (see ui.txt edit) Behaviour of tui.c is unaffected by this change.
* | vim-patch:8.1.1032: warnings from clang static analyzerJan Edmund Lazo2020-12-28
| | | | | | | | | | | | Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings. https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587
* | Merge pull request #13595 from teto/fix-fillerBjörn Linse2020-12-24
|\ \ | |/ |/| de curwinify some functions
| * fix: appease linterMatthieu Coudron2020-12-24
| |
| * refactor: de-curwin-ify update_topline/curs_columnsMatthieu Coudron2020-12-23
| |
| * refactor: pass the window to get_(side)scrolloff_valueMatthieu Coudron2020-12-23
| | | | | | | | to less rely on curwin
* | vim-patch:8.1.1657: Terminal: screen updates from 'balloonexpr' are not ↵Jan Edmund Lazo2020-12-19
|/ | | | | | | | | displayed Problem: Terminal: screen updates from 'balloonexpr' are not displayed. Solution: Update the screen if needed. Fix the word position for "mousemoved". https://github.com/vim/vim/commit/7ba343e63483b09584d4bf5a997fc1d1c09f19f7
* vim-patch:8.2.2029: Coverity warns for not checking return valueJan Edmund Lazo2020-11-21
| | | | | | Problem: Coverity warns for not checking return value. Solution: Check that u_save_cursor() returns OK. https://github.com/vim/vim/commit/5546688fb6798d37a770f366c13dedfa7e4cb417
* menu: remove winbar codeJan Edmund Lazo2020-11-20
| | | | | | | | | No unmerged Vim patch, applicable to Neovim, depend on WinBar feature. It was merged only for merging Vim patches. It is currently useless in Neovim. Remove it to avoid rendering issues. Close https://github.com/neovim/neovim/issues/12689
* vim-patch:8.2.2005: redoing a mapping with <Cmd> doesn't work properlyBjörn Linse2020-11-18
| | | | | | | Problem: Redoing a mapping with <Cmd> doesn't work properly. Solution: Fill the redo buffer. Use "<SNR>" instead of a key code. (closes vim/vim#7282) https://github.com/vim/vim/commit/c77534c303721df4024fd6cfd51098d593b7d4da
* fix: address issues for BufModifiedSetRom Grk2020-11-09
|
* fix: finish renaming to BufModifiedSetRom Grk2020-11-07
|
* feat: implement BufModified autocmdRom Grk2020-11-07
|
* my fight with the linterRom Grk2020-11-06
|
* Merge branch 'master' into add-scroll-eventsRom Grk2020-11-03
|\
| * Merge pull request #12870 from bfredl/themeparkBjörn Linse2020-11-01
| |\ | | | | | | Color themes (per window/line) and lua theme providers
| | * api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
| * | vim-patch:8.2.0929: v:register is not cleared after an operator was executedJan Edmund Lazo2020-10-29
| |/ | | | | | | | | | | | | Problem: v:register is not cleared after an operator was executed. Solution: Clear v:register after finishing an operator (Andy Massimino, closes vim/vim#5305) https://github.com/vim/vim/commit/cc613031b96f1cfa5a184253e745c26f1def9be4
| * vim-patch:8.1.1862: Coverity warns for not using return valueJan Edmund Lazo2020-10-25
| | | | | | | | | | | | Problem: Coverity warns for not using return value. Solution: Add "(void)" to avoid the warning. https://github.com/vim/vim/commit/9c272a9e52c914d6630f2cc887da89f63e7e983a
* | fix: remove xxx commentRom Grk2020-11-01
| |
* | feat: implement a working WinScrolled autocmdRom Grk2020-10-28
| |
* | move.c: dont invalidate viewport when no scroll happenedRom Grk2020-10-25
| |
* | scroll: use win->w_viewport_invalidRom Grk2020-10-24
| |
* | scroll: cleanup unnecessary code & commentsRom Grk2020-10-24
| |
* | implement scroll autocommandRom Grk2020-10-21
|/
* vim-patch:8.1.1319: computing function length name in many placesJan Edmund Lazo2020-09-30
| | | | | | | | | | | Problem: Computing function length name in many places. Solution: compute name length in call_func(). https://github.com/vim/vim/commit/6ed8819822994512c160006bd1204aa11ae3c494 In call_func(), reassign "len" param to (int)STRLEN(funcname) instead of using vim_strsave() which runs strlen(). "len" param is checked for v:lua functions. call_func() states that strlen() is used if "len" is set to -1.
* folds: pass column on fold creationMatthieu Coudron2020-09-28
| | | | | useful if we want to have inline folds later and/or let users create folds that remember their start/end columns.
* vim-patch:8.1.2018: using freed memory when out of memory and displaying messageJan Edmund Lazo2020-06-04
| | | | | | Problem: Using freed memory when out of memory and displaying message. Solution: Make a copy of the message first. https://github.com/vim/vim/commit/e5fbd7393067c279860598ac8359d1617b1082b9
* Merge pull request #12018 from janlazo/vim-8.0.1123Matthieu Coudron2020-04-27
|\ | | | | [RFC]vim-patch:8.0.{1123,1125,1138,1139,1142,1292,1334,1375},8.1.1264
| * vim-patch:8.0.1138: click in window toolbar starts Visual modeJan Edmund Lazo2020-04-26
| | | | | | | | | | | | Problem: Click in window toolbar starts Visual mode. Solution: Add the MOUSE_WINBAR flag. https://github.com/vim/vim/commit/eb163d73b11c10b461a2839530173a33d7915a33
* | Merge #11851 'eval.c: factor out eval/userfunc.c'Justin M. Keyes2020-04-27
|\ \ | | | | | | vim-patch:7.4.2058
| * \ Merge #11851 'eval.c: factor out eval/userfunc.c'Justin M. Keyes2020-04-26
| |\ \ | | |/ | |/| | | | vim-patch:7.4.2058
| | * rename: user_funcs -> userfuncJakub Łuczyński2020-02-13
| | | | | | | | | | | | Lets stick with vim for now
| | * fix: includesJakub Łuczyński2020-02-13
| | |
* | | vim-patch:7.4.1988Rob Pilling2020-04-19
|/ / | | | | | | | | | | | | | | | | | | | | Problem: When updating viminfo with file marks there is no time order. Solution: Remember the time when a buffer was last used, store marks for the most recently used buffers. https://github.com/vim/vim/commit/ab9c89b68dcbdb3fbda8c5a50dd90caca64f1bfd As this is a viminfo fix, most of this is irrelevant - the patch has just been brought across for the creation and updating of buffer's `b_last_used` properties.
* | folds: decrease reliance on global "curwin" (#12132)Matthieu Coudron2020-04-16
| | | | | | | | | | | | | | | | Pass the window in which to create/delete folds instead of using the global "curwin" (current window). Preliminary work for a fold API. TODO: I kept changed_lines prototype unchanged. This should be updated when a fold API sees the light.
* | vim-patch:8.2.0397: delayed screen update when using undo from Insert modeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | Problem: Delayed screen update when using undo from Insert mode. Solution: Update w_topline and cursor shape before sleeping. (closes vim/vim#5790) https://github.com/vim/vim/commit/5715b3147bfc8ddfe905339f6fd224fd3a5a3ba1
* | api/ui: win_viewport event for visible range and cursor position in windowBjörn Linse2020-04-01
| |
* | vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local ↵Will Eccles2020-03-17
| | | | | | | | | | | | | | | | | | | | (#11854) Problem: cannot have a local value for 'scrolloff' and 'sidescrolloff' Author: Bram Moolenar https://github.com/vim/vim/commit/375e3390078e740d3c83b0c118c50d9a920036c7
* | foldcolumn: allow auto:XMatthieu Coudron2020-02-29
|/ | | | | | | | Similar to signcolumn, allow foldcolumn to adapt itself to the number of folds. Regression: vim supports a maximum fdc of 12, this limits it to 9.
* vim-patch:8.1.0027: difficult to make a plugin that feeds a line to a joberw72020-02-12
| | | | | | Problem: Difficult to make a plugin that feeds a line to a job. Solution: Add the nitial code for the "prompt" buftype. https://github.com/vim/vim/commit/f273245f6433d5d43a5671306b520a3230c35787
* Remove enc_utf8,has_mbyte dead codeJan Edmund Lazo2020-01-25
|
* vim-patch:8.2.0147: block Visual mode operators not correct when 'linebreak' setJan Edmund Lazo2020-01-24
| | | | | | Problem: Block Visual mode operators not correct when 'linebreak' set. Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes vim/vim#5524) https://github.com/vim/vim/commit/03c3bd9fd094c1aede2e8fe3ad8fd25b9f033053
* Remove (void) hacks, Mark unused attrsJan Edmund Lazo2020-01-08
|