aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* [release-0.4] win_line: update `w_last_cursorline` alwaysDaniel Hahler2019-10-04
| | | | | | | | | | | | Vim patch 8.1.0856 (54d9ea6) caused a performance regression in Neovim, when `set conceallevel=1 nocursorline` was used, since then due to refactoring in 23c71d5 `w_last_cursorline` would never get updated anymore. Adds/uses `redrawdebug+=nodelta` for testing this. Fixes https://github.com/neovim/neovim/issues/11100. Closes https://github.com/neovim/neovim/pull/11101.
* screen: don't crash on invalid grid cells being recomposedBjörn Linse2019-09-30
|
* version bumpJustin M. Keyes2019-09-15
|
* version bumpJustin M. Keyes2019-09-15
|
* Context: rename "buflist" => "bufs"Justin M. Keyes2019-09-14
| | | | | Given the other type names "jumps", "vars", etc., the name "buflist" is somewhat unintuitive.
* API: nvim_get_context: "opts" paramJustin M. Keyes2019-09-14
| | | | | Since the parameter is already non-primitive, make it an `opts` map instead of just a list, in case we want to extend it later.
* autocmds: TermEnter, TermLeave #8550Usama Hameed2019-09-14
| | | fix #8428
* syntax, TUI: support "strikethrough"Jaskaran Singh2019-09-13
| | | | | | fix #3436 Includes: vim-patch:8.0.1038: strike-through text not supported
* rename: UIAttach/UIDetach => UIEnter/UILeaveJustin M. Keyes2019-09-12
| | | | | "enter"/"leave" is more conventional for Vim events, and "attach"/"detach" distinction does not gain much.
* UIAttach, UIDetachJustin M. Keyes2019-09-12
| | | | | doc: ginit.vim, gvimrc fix #3656
* UIAttach, UIDetachRui Abreu Ferreira2019-09-12
|
* eval: wait(): always spin up dummy-timer #10990Justin M. Keyes2019-09-11
| | | | This avoids getting "stuck". If user actually _wants_ to get stuck forever, they could use `:sleep` or specify a really big `interval`.
* docJustin M. Keyes2019-09-11
| | | | | fix #10127 fix #5972
* doc: nvim_ui_pum_set_height [ci skip]Daniel Hahler2019-09-10
|
* vim-patch:8.0.1309: cannot use 'balloonexpr' in a terminal #10983Jan Edmund Lazo2019-09-09
| | | | | | | | (Port some refactoring, but ignore "balloon" changes.) Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI. https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f
* doc/API/lua: detaching Lua buffer callbacksBjörn Linse2019-09-09
|
* doc: StatusLineTerm, StatusLineTermNCJustin M. Keyes2019-09-09
| | | | | | | N/A: vim-patch:8.0.0941: existing color schemes don't like StatusLineTerm vim-patch:8.0.0937: user highlight groups not adjusted for terminal vim-patch:8.0.0825: not easy to see that a window is a terminal window
* doc: |api-fast| [ci skip]Justin M. Keyes2019-09-09
|
* doc: eliminate msgpack_rpc.txt [ci skip]Justin M. Keyes2019-09-09
| | | | | - Migrate msgpack_rpc.txt into api.txt, develop.txt. - fix #10740: Remove warning about "avoid hardcoding the type codes".
* docJustin M. Keyes2019-09-09
|
* paste: fix normal-mode paste by different approach #10976Justin M. Keyes2019-09-09
| | | | | | | | Forcing insert-mode after the first paste-chunk seems to work, as an alternative to a9e2bae0eb69 (insert-before-cursor). NB: Dot-repeat needs to match the original action. Since a9e2bae0eb69 changed paste to insert-before-cursor, dot-repeat must also. But that makes dot-repeat unpleasant/unusual.
* paste: insert before cursor alwaysJustin M. Keyes2019-09-08
| | | | | | | | | Inserting "after" the cursor in Normal-mode, for big paste-streams, is not reliable: sometimes the text "after" the cursor ends up in the middle of the pasted text. Maybe the cursor position is not updated? To avoid weird behavior, always paste "before". Maybe nvim_put() or vim.paste() can be fixed more properly later.
* vim-patch:06fe74aef726Justin M. Keyes2019-09-06
| | | | | Runtime files update. https://github.com/vim/vim/commit/06fe74aef72606ac34c9f494186e52614b8fb59a
* vim-patch:56c860c315c5Justin M. Keyes2019-09-06
| | | | | Update runtime files. https://github.com/vim/vim/commit/56c860c315c517d304320e12bf7b5c1479546dae
* vim-patch:088e8e344352Justin M. Keyes2019-09-06
| | | | | Update runtime files. https://github.com/vim/vim/commit/088e8e3443520dec91a384081e66445a104810bb
* test: Rename meth_pcall to pcall_errJustin M. Keyes2019-09-06
| | | | | | | - Rename `meth_pcall`. - Make `pcall_err` raise an error if the function does not fail. - Add `vim.pesc()` to treat a string as literal where a Lua pattern is expected.
* termdebug.vim: use style=minimal in popups #10904Jean Mertz2019-09-06
| | | | | | - line numbers weren't hidden (which means the variable is cut off, as the number column isn't considered when calculating the width of the float). - spurious duplicate line to disable signcolumn, and nonumber was indeed missed when porting the original implementation to Neovim.
* runtime: :TOhtml workaround for missing 'vts' option #10960Björn Linse2019-09-06
| | | | | | Hot fix for 0.4 This commit should be reverted when &vts option is added. close #10831
* Merge #10869 'vim-patch:8.1.{0309,0362,0365,0515,1946}'Justin M. Keyes2019-09-05
|\
| * vim-patch:8.1.0515: reloading a script gives errors for existing functionserw72019-09-04
| | | | | | | | | | | | Problem: Reloading a script gives errors for existing functions. Solution: Allow redefining a function once when reloading a script. https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
| * vim-patch:8.1.0362: cannot get the script line number when executing a functionerw72019-09-04
| | | | | | | | | | | | | | Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes vim/vim#3362) Also display the line number with ":verbose set". https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
* | Merge pull request #10451 from bfredl/floatbufBjörn Linse2019-09-05
|\ \ | | | | | | anchor float to buffer position
| * | anchor float to buffer positionBjörn Linse2019-09-04
| | | | | | | | | | | | vim-patch:8.1.1645: cannot use a popup window for a balloon
* | | vim-patch:8.1.1498: ":write" increments b:changedtick even though nothing ↵Justin M. Keyes2019-09-04
|/ / | | | | | | | | | | | | | | | | changed Problem: ":write" increments b:changedtick even though nothing changed. (Daniel Hahler) Solution: Only increment b:changedtick if the modified flag is reset. https://github.com/vim/vim/commit/c024b4667875e5bc6fd0ed791530e33c3161bff7
* / netrw.vim: workaround gx bug #10938Matěj Cepl2019-09-04
|/ | | ref vim/vim#4738
* jobwait(): fix race if job exits before waiting on itJustin M. Keyes2019-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If a job exits while waiting on another job, the on_exit handler is queued but f_jobwait() skips it. Solution: Always do process_wait(), so that handlers are run during f_jobwait(). fix #8302 Test case: $ BUSTED_ARGS="--repeat=2000 --no-keep-going" TEST_FILE=test/functional/core/job_spec.lua TEST_FILTER=waiting make functionaltest Failure example (macOS CI): FAILED test/functional/core/job_spec.lua: jobs jobwait will run callbacks while waiting test/functional/core/job_spec.lua:606: Expected objects to be the same. Passed in: (table: 0x1be77c80) { [1] = 'notification' [2] = 'wait' *[3] = { *[1] = 3 } } Expected: (table: 0x1be77d10) { [1] = 'notification' [2] = 'wait' *[3] = { *[1] = 4 } } stack traceback: test/functional/core/job_spec.lua:606: in function <test/functional/core/job_spec.lua:583
* paste: one undo-block per streamJustin M. Keyes2019-09-02
| | | | | | - All "chunks" in a paste-stream should form a single undo-block. Side effect of 7a8579288424 was to create an undo-block for each chunk. - Also: remove old :redraw force logic, irrelevant after 7a8579288424.
* eval: add wait()Abdelhakeem2019-09-01
| | | | closes #10362
* screen: use dedicated message gridBjörn Linse2019-09-01
| | | | | | | | add proper msg_set_pos event, delet win_scroll_over_* make compositor click through unfocusable grids add MsgArea attribute for the message/cmdline area, and add docs and tests
* API: nvim_paste: add `crlf` parameterJustin M. Keyes2019-08-30
|
* vim-patch:8.1.1937: errors when using javascriptreact #10885Jan Edmund Lazo2019-08-30
| | | | | Problem: Errors when using javascriptreact. Solution: Use ":runtime" instead of ":source". (closes vim/vim#4875) https://github.com/vim/vim/commit/4fb15c647658b15230c61857c644230a03881904
* paste: break lines at CR, CRLF #10877Justin M. Keyes2019-08-29
| | | | | | Some terminals helpfully translate \n to \r. fix #10872 ref #10223
* vim-patch:8.1.0193: terminal debugger buttons don't always work (#10874)Jan Edmund Lazo2019-08-29
| | | | | Problem: Terminal debugger buttons don't always work. (Dominique Pelle) Solution: Set 'cpo' to its default value. https://github.com/vim/vim/commit/ca4cc018addbeb3ac5d0e05f18847015f91ff814
* Merge #4448 'paste: redesign'Justin M. Keyes2019-08-28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #3447 fix #3566 fix #7066 fix #7212 fix #7273 fix #7455 fix #10415 NA vim-patches: vim-patch:8.1.1198 vim-patch:8.1.0224 vim-patch:8.0.1299 vim-patch:8.0.0569 vim-patch:8.0.0303 vim-patch:8.0.0296 vim-patch:8.0.0244 vim-patch:8.0.0238 vim-patch:8.0.0232 vim-patch:8.0.0231 vim-patch:8.0.0230 vim-patch:8.0.0210
| * paste: make vim.paste() "public"Justin M. Keyes2019-08-27
| |
| * API: nvim_pasteJustin M. Keyes2019-08-27
| |
| * paste: edge-case: handle EOL at end-of-bufferJustin M. Keyes2019-08-27
| | | | | | | | This is "readfile()-style", see also ":help channel-lines".
| * paste: WIP #4448Justin M. Keyes2019-08-27
| |
* | doc: man.vim #10817Doron Behar2019-08-28
|/ | | ref #10808
* vim-patch:8.1.1930: cannot recognize .jsx and .tsx filesJan Edmund Lazo2019-08-26
| | | | | | | Problem: Cannot recognize .jsx and .tsx files. Solution: Recognize them as javascriptreact and typescriptreact. (closes vim/vim#4830) https://github.com/vim/vim/commit/92852cee3fcff1dc6ce12387b234634e73267b22