aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* win_line: Fix crash with 'rightleft' in :terminal #11460erw72019-11-28
| | | | | | | | | | | | | | | | fixes #11438 Backtrace: 0 schar_from_ascii ( p=0x801cc9e112c3 <error: Cannot access memory at address 0x801cc9e112c3>, c=32 ' ') at ../src/nvim/screen.c:5263 1 0x00007f31460eccc5 in win_line (wp=wp@entry=0x7fffc9df6230, lnum=lnum@entry=11, startrow=startrow@entry=10, endrow=41, nochange=false, number_only=number_only@entry=false) at ../src/nvim/screen.c:4025 2 0x00007f31460eed8e in win_update (wp=wp@entry=0x7fffc9df6230) at ../src/nvim/screen.c:1403 3 0x00007f31460f011f in update_screen (type=<optimized out>) at ../src/nvim/screen.c:502 4 0x00007f3146138ef4 in normal_redraw (s=s@entry=0x7fffd0a5f700) at ../src/nvim/normal.c:1247 5 0x00007f314613b159 in normal_check (state=0x7fffd0a5f700) at ../src/nvim/normal.c:1324 6 0x00007f31460accfe in state_enter (s=0x7fffd0a5f700) at ../src/nvim/state.c:28 7 0x00007f3146143099 in normal_enter (cmdwin=<optimized out>, noexmode=<optimized out>) at ../src/nvim/normal.c:463 8 0x00007f314618b541 in main (argc=<optimized out>, argv=<optimized out>) at ../src/nvim/main.c:580
* doc: fix typosBrian Wignall2019-11-27
| | | | close #11459
* Merge pull request #11445 from bfredl/fcslcsBjörn Linse2019-11-26
|\ | | | | options: make 'fillchars' and 'listchars' global-local instead of local-only
| * options: make 'fillchars' and 'listchars' global-localBjörn Linse2019-11-26
| | | | | | | | | | | | | | | | | | These options were previously global. A global-local window option behaves closer to a global option "per default" (i e with :set), but still supports local behavior via :setl Also this restores back-compat for nvim_set_option("fcs", ...) which are currently broken on 0.4.x but worked in earlier versions
* | lua: make vim.wo and vim.bo used nested indexing for specified handleBjörn Linse2019-11-26
| | | | | | | | | | Also missing option should be an error. Options are functionality, not arbitrary variable names (as for vim.g)
* | UI: emit mouse_on/mouse_off on attach #11455Justin M. Keyes2019-11-25
| | | | | | closes #11372
* | [RFC] extmark: fix E315 in nvim_buf_set_extmark (#11449)notomo2019-11-25
| | | | | | | | | | extmark: need to use buf instead of curbuf
* | doc + extmarks tweaks #11421Justin M. Keyes2019-11-25
| | | | | | | | - nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj`
* | Merge branch 'master' into lsp-followupAshkan Kiani2019-11-24
|\ \
| * | Lua: vim.env, vim.{g,v,w,bo,wo} #11442Ashkan Kiani2019-11-24
| |/ | | | | | | | | | | | | | | - Add vim variable meta accessors: vim.env, vim.{g,v,w,bo,wo} - Redo gen_char_blob to generate multiple blobs instead of just one so that multiple Lua modules can be inlined. - Reorder vim.lua inclusion so that it can use previously defined C functions and utility functions like vim.shared and vim.inspect things. - Inline shared.lua into nvim, but also keep it available in runtime.
* | Merge remote-tracking branch 'origin/master' into lsp-followupAshkan Kiani2019-11-23
|\|
| * tests: remove irrelevant timing infoBjörn Linse2019-11-23
| |
| * test was wrongBjörn Linse2019-11-23
| |
| * refactor: use inserted_bytes pattern from vimBjörn Linse2019-11-23
| | | | | | | | | | | | | | This covers all "small" inserts and deletes in insert mode, as well as a few more cases like small normal mode deletes vim-patch:8.1.0678: text properties as not adjusted for inserted text
| * bufhl: use extmark column adjustment for bufhlBjörn Linse2019-11-23
| | | | | | | | | | | | | | | | NB: this is not the final implementation. Bufhl should be made a part of the extmark tree, so that "start" adjustment just works automatically. But "stop" will still need some ad-hoc trickery, until extended marks natively support ranges (hopefully sooner than forever).
| * Clear 'cc' in nvim_open_win 'minimal' style #11361 (#11427)Dennis B2019-11-22
| | | | | | | | | | | | | | * Clear 'cc' in nvim_open_win 'minimal' style #11361 Add 'colorcolumn' to the list of options that should be cleared when creating a 'minimal'-style floating window.
* | lualintAshkan Kiani2019-11-21
| |
* | UpdatesAshkan Kiani2019-11-21
| | | | | | | | | | | | | | | | - Use correct implementation of text_edits. - Send indent options to rangeFormatting and formatting. - Remove references to vim bindings and filetype from lsp.txt - Add more examples to docs. - Add before_init to allow changing initialize_params.
* | Merge remote-tracking branch 'origin/master' into lsp-followupAshkan Kiani2019-11-21
|\|
| * lsp: transmit "\n" after last line when 'eol' is setBjörn Linse2019-11-21
| | | | | | | | | | Otherwise some servers like clangd will emit spurious "no newline at end of file" warnings.
| * vim-patch:8.1.0251: support full paths for 'backupdir' #11269Joe Hermaszewski2019-11-17
| | | | | | | | | | | | | | Problem: Using a full path is supported for 'directory' but not for 'backupdir'. (Mikolaj Machowski) Solution: Support 'backupdir' as well. (Christian Brabandt, closes vim/vim#179) https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
* | Extend list_extend to take start/finish.Ashkan Kiani2019-11-20
|/
* Add v:lua.func() vimL syntax for calling luaBjörn Linse2019-11-16
| | | | Also simplify error messages when calling lua from vimL.
* extmark: don't crash in RO buffer.Björn Linse2019-11-16
|
* lua LSP client: initial implementation (#11336)Ashkan Kiani2019-11-13
| | | | | | Mainly configuration and RPC infrastructure can be considered "done". Specific requests and their callbacks will be improved later (and also served by plugins). There are also some TODO:s for the client itself, like incremental updates. Co-authored by at-tjdevries and at-h-michael, with many review/suggestion contributions.
* Merge #11307 'Lua: vim.validate()'Justin M. Keyes2019-11-11
|\
| * Lua: Use vim.validate() instead of assert()Justin M. Keyes2019-11-10
| |
| * Lua: vim.validate()Justin M. Keyes2019-11-10
| |
| * Lua: vim.validate()Hirokazu Hata2019-11-10
| | | | | | | | | | | | | | We often want to do type checking of public function arguments. - test: Rename utility_function_spec.lua to vim_spec.lua - .luacov: Map lua module names
* | extmark: review changesBjörn Linse2019-11-11
| |
* | nsmarks: initial committimeyyy2019-11-11
|/
* tests: vim.rpcnotify test is flakyBjörn Linse2019-11-10
|
* api: add nvim_buf_get_virtual_text() (#11354)Marco Hinz2019-11-10
| | | This adds the missing partner function of nvim_buf_set_virtual_text().
* Merge pull request #11310 from bfredl/luarpcBjörn Linse2019-11-10
|\ | | | | lua: add vim.rpcrequest, vim.rpcnotify and vim.NIL
| * lua: vim.rpcrequest, vim.rpcnotify, vim.NILBjörn Linse2019-11-10
| |
* | test/Screen:expect: replace "{IGNORE}" with "{MATCH:…}"Justin M. Keyes2019-11-09
| | | | | | | | ref #11004
* | tests: Screen:expect: support "{MATCH:…}"Daniel Hahler2019-11-09
| |
* | paste: Select-mode, Visual-mode #11360Justin M. Keyes2019-11-09
|/ | | fix #11344
* doc: vim.fn, vim.call(), vim.api [ci skip]Justin M. Keyes2019-11-06
|
* Merge #11319 'inccommand: fix issues with modifiers and prompting'Justin M. Keyes2019-11-05
|\
| * Prevent prompts during inccommand previewsRob Pilling2019-10-31
| | | | | | | | For example, "Backwards range given, OK to swap (y/n)?" on each keypress.
| * Prevent :topleft, etc modifying the inccommand preview windowRob Pilling2019-10-31
| |
| * Allow multiple leading colons before and after modifiers for 'inccommand'Rob Pilling2019-10-31
| |
| * Remove unnecessary expr in 'icm' testRob Pilling2019-10-31
| |
* | terminal: add tests for palette color forwardingBjörn Linse2019-11-03
| |
* | test/screen: make snapshot_util() work properly in rgb_cterm modeBjörn Linse2019-11-02
|/
* Merge pull request #11302 from bfredl/luacallBjörn Linse2019-10-27
|\ | | | | lua: add vim.fn.{func} for direct access to vimL function
| * lua: add vim.fn.{func} for direct access to vimL functionBjörn Linse2019-10-27
| | | | | | | | | | | | | | | | compared to vim.api.|nvim_call_function|, this fixes some typing issues due to the indirect conversion via the API. float values are preserved as such (fixes #9389) as well as empty dicts/arrays. Ref https://github.com/norcalli/nvim.lua for the call syntax
* | tests: remove some redundant legacy tests #11028Daniel Hahler2019-10-26
|/ | | | These were turned into new-style Vim tests in cbecae46f.
* test/pcall_err(): truncate full paths, omit linenrJustin M. Keyes2019-10-26
| | | | ref #11271