aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| | * | | treesitter: update runtimeThomas Vigouroux2020-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | Since tree-sitter PR 615, predicates are not parsed the same. "Old" way of writing predicates is still supported.
| * | | | vim-patch:8.2.0905: test coverage could be betterJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test coverage could be better. Solution: Add a couple of tests. (Dominique Pelle, closes vim/vim#6202) https://github.com/vim/vim/commit/e0c3c3d6cbb6f356058f28ecbdf3438411222083
| * | | | vim-patch:8.2.0892: ubsan warns for undefined behaviorJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Ubsan warns for undefined behavior. Solution: Use unsigned instead of signed variable. (Dominique Pelle, closes vim/vim#6193) https://github.com/vim/vim/commit/c5acc0f7fed6b061d994fc5ac660dcc0312750bd
| * | | | vim-patch:8.1.2335: error message for function arguments may use NULL pointerJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Error message for function arguments may use NULL pointer. (Coverity) Solution: Use the original function name. https://github.com/vim/vim/commit/2118a302957dea352174722bf355376901f49b9b
| * | | | vim-patch:8.2.0491: cannot recognize a <script> mapping using maparg()Jan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot recognize a <script> mapping using maparg(). Solution: Add the "script" key. (closes vim/vim#5873) https://github.com/vim/vim/commit/2da0f0c445da3c9b35b2a0cd595d10e81ad2a6f9
| * | | | vim-patch:8.2.0873: a .jl file can be sawfish (lisp) or JuliaJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A .jl file can be sawfish (lisp) or Julia. Solution: Do not recognize *.jl as lisp, since it might be Julia. (closes vim/vim#6178) https://github.com/vim/vim/commit/2891459b81a21dbd2802ef1ae106c6680f085899
| * | | | 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
| * | | | vim-patch:8.1.1895: using NULL pointer when out of memoryJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using NULL pointer when out of memory. Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang, closes vim/vim#4805, closes vim/vim#4843, closes vim/vim#4939, closes vim/vim#4844) https://github.com/vim/vim/commit/6f10c70b59fa4e56aa479345fb0caeaac7429bfb
| * | | | vim-patch:8.0.1564: too many #ifdefsJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte. https://github.com/vim/vim/commit/f2bd8ef2b4507d02c6043affff8f7e85e3414d5f
| * | | | vim-patch:8.1.0917: double free when running out of memoryJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Double free when running out of memory. Solution: Remove one free. (Ken Takata, closes vim/vim#3955) https://github.com/vim/vim/commit/445e71c5ee06015064cf0642cac8190cfe8fbc59
| * | | | vim-patch:8.2.0089: crash when running out of memory in :setfiletype completionJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when running out of memory in :setfiletype completion. Solution: Do not allocate memory. (Dominique Pelle, closes vim/vim#5438) https://github.com/vim/vim/commit/f0f8055102c264b1d0c0a79bf742dc126fb447b9
| * | | | Add v:event.visual during `TextYankPost` (#12382)Christian Clason2020-06-03
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * propagate visual selection to textyankpost event * adapt tests * add docs * also adapt oldtest
| * | | vim-patch:8.2.0843: filetype elm not detected (#12403)Jan Edmund Lazo2020-05-30
| | | | | | | | | | | | | | | | | | | | Problem: Filetype elm not detected. Solution: Recognize *.elm files. (closes vim/vim#6157) https://github.com/vim/vim/commit/0016fd2e29b7d4d4eef89a0516d14888a8651c61
| * | | lua: vim.wait implementationTJ DeVries2020-05-30
| | | |
| * | | lua: vim.wait initial outlineBjörn Linse2020-05-30
| | | |
| * | | API: nvim_create_buf: unset 'modeline' in scratch-buffer #12379Justin M. Keyes2020-05-29
| | | | | | | | | | | | | | | | Although 'nomodeline' is not strictly part of the definition of a "scratch-buffer" it is obviously the right default.
| * | | win/TUI: enable mouse on ConEmu and vtpcon without vtierw72020-05-26
| | | |
| * | | win: use virtual terminal input (VTI) if available #11803erw72020-05-26
| | | | | | | | | | | | | | | | | | | | fixes #9514 fixes #11773
| * | | Merge pull request #10905 from erw7/vim-8.1.0475Matthieu Coudron2020-05-25
| |\ \ \ | | |/ / | |/| | vim-patch:8.1.{475,800,868,1007,1027,1031,1033,1037,1058,1435,1484,1485}
| | * | eval: fix problem with free_unref_funccal not being callederw72020-05-25
| | | |
| | * | vim-patch:8.1.1485: double free when garbage_collect() is used in autocommanderw72020-05-25
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Double free when garbage_collect() is used in autocommand. Solution: Have garbage collection also set the copyID in funccal_stack. https://github.com/vim/vim/commit/c07f67ad0e9c48a07d49f2d67eb63e183a22386a
| | * | vim-patch:8.1.1484: some tests are slowDaniel Hahler2020-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some tests are slow. Solution: Add timing to the test messages. Fix double free when quitting in VimLeavePre autocmd. https://github.com/vim/vim/commit/75ee544f99ca66be8105570c6309d95435ad30d1
| | * | vim-patch:8.1.1007: using closure may consume a lot of memoryerw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using closure may consume a lot of memory. Solution: unreference items that are no longer needed. Add a test. (Ozaki Kiichi, closes vim/vim#3961) https://github.com/vim/vim/commit/209b8e3e3bf7a4a3d102134124120f6c7f57d560
| | * | vim-patch:8.1.0475: memory not freed on exit when quit in autocmderw72020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory not freed on exit when quit in autocmd. Solution: Remember funccal stack when executing autocmd. https://github.com/vim/vim/commit/27e80c885bcb5c5cf6a6462d71d6c81b06ba2451
| * | | vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117)kuuote2020-05-24
| | | | | | | | | | | | | | | | | | | | Problem: Cannot get the Vim command line arguments. Solution: Add v:argv. (Dmitri Vereshchagin, closes vim/vim#1322) https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
| * | | vim-patch:8.2.0810: error when appending "tagfile" to 'wildoptions'Jan Edmund Lazo2020-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Error when appending "tagfile" to 'wildoptions'. Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin, closes vim/vim#6105) https://github.com/vim/vim/commit/2e61e2d08390623fcf933fd06646ac91f81fb772
| * | | vim-patch:8.2.0037: missing renamed messageJan Edmund Lazo2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Missing renamed message. Solution: Now really add the error number. https://github.com/vim/vim/commit/1500a42c42b26cb63659d90883f7a438895cd273
| * | | vim-patch:8.2.0036: not enough test coverage for match functionsJan Edmund Lazo2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not enough test coverage for match functions. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#5394) Add error number. https://github.com/vim/vim/commit/49d68bf5e4d9306269b141f0576bbf44631f4ff0
| * | | vim-patch:8.1.2228: screenpos() returns wrong values when 'number' is setJan Edmund Lazo2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: screenpos() returns wrong values when 'number' is set. (Ben Jackson) Solution: Compare the column with the window width. (closes vim/vim#5133) https://github.com/vim/vim/commit/38ba4dce4a8574e60f6ddb111922880b0c7affdc
| * | | vim-patch:8.2.0766: display error when using 'number' and 'breakindent'Jan Edmund Lazo2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Display error when using 'number' and 'breakindent'. Solution: Adjust extra spaces in the first row. (Ken Takata, closes vim/vim#6089, closes vim/vim#5986) https://github.com/vim/vim/commit/e882f7a73c8fa48707de71035eb0a7ccc6ac8548
| * | | fixed hang issue with --headless and -r option specified (#12209)Kei Kamikawa2020-05-20
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed hang issue with --headless and -r option specified Calling the do_more_prompt function in headless mode will freeze neovim because it is eventally in the input-accepting state (the same as waiting for --more--). * fixed "Press ENTER or type command to continue" to be suppressed If in headless mode, we need to exit at this point. If we continue, we will enter the normal mode and the message "Press ENTER or type command to continue" will be displayed and we will be in the input waiting state. * fixed functional ex_cmds tests * Revert "fixed "Press ENTER or type command to continue" to be suppressed" This reverts commit a02dc40e3b3fad69cedcde6abe1bd4efe39ab102. * Revert "fixed functional ex_cmds tests" This reverts commit 3bdb8da20acf34673b2c2028d15e7ce6da4c792a. * fixed conditional again * added test for fixed hang issue with --headless (#11386)
| * | lua: Add highlight.on_yank (#12279)Christian Clason2020-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add lua function to highlight yanked region * extract namespace, better naming, default values * add default for event argument * free timer * factor out mark to position calculation * d'oh * make sure timer stops before callback (cf. luv example) * factor out timer, more documentation * fixup * validate function argument for schedule * fix block selection past eol * correct handling of multibyte characters * move arguments around, some cleanup * move utility functions to vim.lua * use anonymous namespaces, avoid local api * rename function * add test for schedule_fn * fix indent * turn hl-yank into proper (hightlight) module * factor out position-to-region function mark extraction now part of highlight.on_yank * rename schedule_fn to defer_fn * add test for vim.region * todo: handle double-width characters * remove debug printout * do not shadow arguments * defer also callable table * whitespace change * move highlight to vim/highlight.lua * add documentation * add @return documentation * test: add check before vim.defer fires * doc: fixup
| * | matchdelete: fix porting (#12328)Shougo2020-05-17
| | | | | | | | | really use win and not curwin
| * | vim-patch:8.1.1084: cannot delete a match from another window (#12325)Shougo2020-05-16
| | | | | | | | | | | | | | | | | | Problem: Cannot delete a match from another window. (Paul Jolly) Solution: Add window ID argument to matchdelete(), clearmatches(), getmatches() and setmatches(). (Andy Massimino, closes vim/vim#4178) https://github.com/vim/vim/commit/aff749145e23c0f20b5158d1d3a942948ed138e3
| * | vim-patch:8.2.0736: some files not recognized as pamenvJan Edmund Lazo2020-05-11
| | | | | | | | | | | | | | | | | | Problem: Some files not recognized as pamenv. Solution: Add pam_inv.conf. (closes vim/vim#6065) https://github.com/vim/vim/commit/aacc6afdb8cdeb2558e6942dcd65ca0079bec1ee
| * | vim-patch:8.2.0309: window-local values have confusing nameJan Edmund Lazo2020-05-11
| | | | | | | | | | | | | | | | | | Problem: Window-local values have confusing name. Solution: Rename w_p_bri* to w_briopt_*. https://github.com/vim/vim/commit/b81f56fb57c87a7490dd79908c257437d1958447
| * | vim-patch:8.2.0308: 'showbreak' does not work for a very long lineJan Edmund Lazo2020-05-11
| | | | | | | | | | | | | | | | | | | | | Problem: 'showbreak' does not work for a very long line. (John Little) Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes vim/vim#5523, closes vim/vim#5684) https://github.com/vim/vim/commit/1aa76b8fd06c278fe36c39b0bbe7233c775d7423
| * | vim-patch:8.2.0713: the pam_environment file is not recognizedJan Edmund Lazo2020-05-11
| | | | | | | | | | | | | | | | | | Problem: The pam_environment file is not recognized. Solution: Add a filetype pattern for pamenv. (closes vim/vim#6051) https://github.com/vim/vim/commit/611548105394fdb76827cd431230c9fbfed39929
| * | vim-patch:8.1.1186: readdir() allocates list twiceJan Edmund Lazo2020-05-11
| | | | | | | | | | | | | | | | | | Problem: readdir() allocates list twice. Solution: Remove second allocation. Also check for zero length. https://github.com/vim/vim/commit/334ad415040f9592451ec99498cd99f90d6e33e6
| * | viml/profile: fix issue where profile is not reset on stoperw72020-05-09
| | |
| * | viml/profile: fix use after freeerw72020-05-09
| | | | | | | | | | | | fixes #12255.
| * | lua: Add buffer, window and tab accessors (#12268)TJ DeVries2020-05-07
| |/ | | | | | | | | * Add buffer, window and tab accessors * Fix deletion and add tests
| * Merge #12203 from janlazo/vim-8.2.0648Justin M. Keyes2020-05-05
| |\ | | | | | | vim-patch:8.1.{800,868,1581},8.2.{648,649,663,678,681,688,691,692}
| | * vim-patch:8.2.0692: startup test fails on MS-WindowsJan Edmund Lazo2020-05-03
| | | | | | | | | | | | | | | | | | Problem: Startup test fails on MS-Windows. Solution: Allow for any path. https://github.com/vim/vim/commit/4515bcdec8f3ba54f9d671cc37b9c9b3e19ea999
| | * vim-patch:8.2.0691: startup test failsJan Edmund Lazo2020-05-03
| | | | | | | | | | | | | | | | | | Problem: Startup test fails. Solution: Adjust expected output from -V2 argument. https://github.com/vim/vim/commit/7779ee30d912e9dd5bd2371f8b27057bd249d53c
| | * vim-patch:8.2.0688: output clobbered if setting 'verbose' to see shell commandsJan Edmund Lazo2020-05-03
| | | | | | | | | | | | | | | | | | Problem: Output clobbered if setting 'verbose' to see shell commands. Solution: Only output "Searching for" when 'verbose' is 11 or higher. https://github.com/vim/vim/commit/647a530b33d9d767f591159c24c62de48e57dad7
| | * vim-patch:8.2.0681: pattern for 'hlsearch' highlighting may leakJan Edmund Lazo2020-05-03
| | | | | | | | | | | | | | | | | | | | | Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pelle) Solution: Call end_search_hl() to make sure the previous pattern is freed. (closes vim/vim#6028) https://github.com/vim/vim/commit/0b6849e9e302286e906d97e4ba017dd66561a9ce
| | * vim-patch:8.2.0678: rare crash for popup menuJan Edmund Lazo2020-05-03
| | | | | | | | | | | | | | | | | | Problem: Rare crash for popup menu. Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes vim/vim#6027) https://github.com/vim/vim/commit/d58a662f44dc11475f4cf5922a948635da934cc4
| | * vim-patch:8.2.0663: not all systemd temp files are recognizedJan Edmund Lazo2020-05-03
| | | | | | | | | | | | | | | | | | Problem: Not all systemd temp files are recognized. Solution: Add two more patterns. (Jamie Macdonald, closes vim/vim#6003) https://github.com/vim/vim/commit/512fe833c3988bfe0de22135aef67faf51927a0e
| | * vim-patch:8.1.0868: crash if triggering garbage collector after a function callJan Edmund Lazo2020-05-03
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash if triggering garbage collector after a function call. (Michael Henry) Solution: Don't call the garbage collector right away, do it later. (closes vim/vim#3894) https://github.com/vim/vim/commit/889da2f2438c8168f9a25dc776360b81109bad44