aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | | | Merge pull request #14020 from chentau/float_resizeBjörn Linse2021-03-14
|\ \ \ \ | | | | | | | | | | Update lines after shrinking floating window
| * | | | screen: make ui_compositor aware of the intended size of a floatchentau2021-03-11
| |/ / /
* | | | Fix click on foldcolumn with vsplit (#14127)tk-shirasaka2021-03-13
| | | |
* | | | vim-patch:8.2.2595: setting 'winminheight' may cause 'lines' to changeJan Edmund Lazo2021-03-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Setting 'winminheight' may cause 'lines' to change. Solution: Also take minimal height of other tabpages into account. (vim/vim#7899) https://github.com/vim/vim/commit/9e813b3dea94a8952b732a224fa31beba6e85973
* | | | api: allow open non-current buffer as terminal (+ xmas bonus)Björn Linse2021-03-12
| | | | | | | | | | | | | | | | vim.api.nvim_chan_send(vim.api.nvim_open_term(0), io.open("/path/to/smile.cat", "r"):read("*a"))
* | | | lsp: Resolve codeLense server capabilities (#14056)Josa Gesell2021-03-10
| | | |
* | | | Merge pull request #14065 from bfredl/overlaymodeBjörn Linse2021-03-10
|\ \ \ \ | | | | | | | | | | more virt_text display options
| * | | | decorations: add additional styling of virt_text overlaysBjörn Linse2021-03-10
| |/ / /
* | | | Merge pull request #14079 from mjlbach/incremental_syncMichael Lingelbach2021-03-09
|\ \ \ \ | |_|/ / |/| | | lsp: add incremental text synchronization
| * | | lsp: add incremental text synchronizationMichael Lingelbach2021-03-09
| |/ / | | | | | | | | | | | | * Implementation derived from and validated by vim-lsc authored by Nate Bosch
* | | Merge pull request #13875 from smolck/vim_fn_error_on_apiBjörn Linse2021-03-09
|\ \ \ | | | | | | | | vim.fn: throw error when trying to use API function
| * | | use pcall_errsmolck2021-03-09
| | | |
| * | | vim.fn: add test for errorsmolck2021-02-04
| | | |
* | | | state: throttle batched event processing when input is availableBjörn Linse2021-03-08
| |/ / |/| | | | | | | | | | | | | | | | | before, calling vim.schedule() from inside an event would execute the scheduled callback immediately after this event without checking for user input in between. Break event processing whenever user input or an interrupt is available.
* | | [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
* | | Merge pull request #13973 from chentau/on_bytes_undofileBjörn Linse2021-03-03
|\ \ \ | | | | | | | | | | | | | | | | New versions of neovim will not read undofiles written by nvim before this merge (there will be an error message about incopmatible version). Nvim 0.4 (or an master up to bda12927be84f0e0e05e885f9acb40a7ac2c5524 ) can be used to recover older undofiles, so if you worried about unsaved changes lurking around in undofiles it would make sense to keep such version around somewhere to recover them. This is a necessary change to keep tree-sitter and plugins dependent on byte-level buffer change events fully working with undo states from a undofile. If there is a clear demand we might implement reading of the old format. Such recovered buffers will not be be fully functional with plugins relying on buffer updates or tree-sitter, however.
| * | | Extmarks: Save extmark undo information to undofile.chentau2021-03-02
| | | |
* | | | vim-patch:8.2.2236: 'scroll' option can change when setting the statuslineJan Edmund Lazo2021-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'scroll' option can change when setting the statusline or tabline but the option context is not updated. Solution: Update the script context when the scroll option is changed as a side effect. (Christian Brabandt, closes vim/vim#7533) https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
* | | | vim-patch:8.2.2560: setting 'winminheigt' does not take tabline into accountJan Edmund Lazo2021-03-01
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Setting 'winminheigt' does not take tabline into account. Solution: Subtract the tabline from the available height. (closes vim/vim#7899) https://github.com/vim/vim/commit/39d4cab494248131b6fb07aba633aa4da7871a57 N/A patches for version.c: vim-patch:8.1.0680: not easy to see what features are unavailable Problem: Not easy to see what features are unavailable. Solution: Highlight disabled features in the :version output. (Nazri Ramliy, closes vim/vim#3756) https://github.com/vim/vim/commit/c85ffc9daba6f66d5958ae80249d26f7f81bfced vim-patch:8.2.2196: :version output has extra spaces in compile and link command Problem: :version output has extra spaces in compile and link command. Solution: Adjust QUOTESED. (closes vim/vim#7505) https://github.com/vim/vim/commit/abcbb0e9ad43fc25077e1681528e72ddcbeed300 vim-patch:8.2.2551: MS-Windows: colors test file is not installed Problem: MS-Windows: colors test file is not installed. Solution: Also copy runtime/colors/tools. (Ken Takata, closes vim/vim#7902) https://github.com/vim/vim/commit/d0bce504ec52def729fffa35c8896979af348d32 vim-patch:8.2.2559: MS-Windows: guifont test fails on Windows XP Problem: MS-Windows: guifont test fails on Windows XP. Solution: Check windowsversion(). https://github.com/vim/vim/commit/3650fd709807d5ac182e28d952cbd790c1ad0a6a
* | | LSP: Resolve text_document_save capability according to specMathias Fussenegger2021-02-25
| | | | | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/13989 See https://github.com/microsoft/language-server-protocol/issues/288
* | | lsp: remove deprecated references to 'callbacks' (#13945)Matthieu Coudron2021-02-23
| | | | | | | | | | | | | | | vim.lsp.callbacks was deprecated a few months ago. This is a cleanup before the release. Use vim.lsp.handlers instead.
* | | Merge pull request #13952 from bfredl/overlayBjörn Linse2021-02-22
|\ \ \ | | | | | | | | decorations: allow virt_text overlay at any column
| * | | decorations: allow virt_text overlay at any columnBjörn Linse2021-02-22
| | | |
* | | | lsp: Fix text edits operating on the last line of a document (#13677)Mathias Fußenegger2021-02-19
| | | | | | | | | | | | | | | | | | | | | | | | `lines` can be empty, in which case `#lines[#lines]` failed with an error: lsp/util.lua:214: attempt to get length of a nil value
* | | | lsp: client stop cleanups (#13877)Michael Lingelbach2021-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lsp: client stop cleanups * Add diagnostic clearing to client.stop() method used by nvim-lspconfig * Clear diagnostic cache to prevent stale diagnostics on client restart * lsp: Add test for vim.lsp.diagnostic.reset
* | | | [RFC] ":source" sources from current buffer if filename is omitted (#11444)Vikram Pal2021-02-18
|/ / / | | | | | | Fix https://github.com/neovim/neovim/issues/8722
* | | Merge pull request #13692 from mjlbach/fix_cursor_respect_current_lineBjörn Linse2021-02-16
|\ \ \ | |/ / |/| | fix_cursor: do not change line number when edit will not impact cursor row
| * | tests: add test for cursor postion when deleting buffer linesMichael Lingelbach2021-01-31
| | |
* | | buffer_updates: autoload episode III: revenge of the treesBjörn Linse2021-02-14
| | |
* | | buffer updates: add on_reload callback and handle it in treesitter parserBjörn Linse2021-02-10
| | |
* | | Merge pull request #13903 from glacambre/fix_prompt_for_numberBjörn Linse2021-02-10
|\ \ \ | | | | | | | | Clear prompt_for_number messages
| * | | Clear prompt_for_number messagesglacambre2021-02-10
| | | | | | | | | | | | | | | | | | | | | | | | This fixes issues in GUIs: https://github.com/akiyosi/goneovim/issues/94 https://github.com/glacambre/firenvim/issues/448
* | | | fix(notify): Expected 3 arguments error (#13905)notomo2021-02-09
| | | |
* | | | fix(buf_updates): send updates when putting past last lineThomas Vigouroux2021-02-08
| | | | | | | | | | | | | | | | Fixes #13710
* | | | Merge pull request #13899 from chentau/set_text_fixBjörn Linse2021-02-08
|\ \ \ \ | |/ / / |/| | | correctly mark changed regions for set_text
| * | | correctly mark changed regions for set_textchentau2021-02-07
| | | |
* | | | Merge pull request #13843 from teto/notif_providerMatthieu Coudron2021-02-08
|\ \ \ \ | |/ / / |/| | | [RDY] Notification provider
| * | | test: test vim-notifyMatthieu Coudron2021-02-02
| |/ /
* | | tests: clean up lua/buffer_updates_spec.luaBjörn Linse2021-02-04
| | |
* | | inccommand: preserve extmarks when undoing preview substitutionBjörn Linse2021-02-04
| |/ |/|
* | Use abort() instead of assert(false) for things that should never happenJames McCoy2021-01-31
| | | | | | | | | | | | | | | | assert() is compiled out for release builds, but we don't want to continue running in these impossible situations. This also resolves the "implicit fallthrough" warnings for the asserts in switch cases.
* | test(job): Ensure job-specific env var overrides global env varJames McCoy2021-01-31
| |
* | Pass environment on to pty processes on WindowsJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.0239: MS-Windows: 'env' job option does not override existing vars Problem: MS-Windows: 'env' job option does not override existing environment variables. (Tim Pope) Solution: Set the environment variables later. (Yasuhiro Matsumoto, closes vim/vim#5485, closes vim/vim#5608) https://github.com/vim/vim/commit/355757aed6ae2ae5446882570d89f243e4805937 Co-authored-by: erw7 <erw7.github@gmail.com>
* | Use dict_T to pass env vars to process spawning codeJames McCoy2021-01-31
|/ | | | Co-authored-by: Matthieu Coudron <mattator@gmail.com>
* lsp/tests: Ensure client is stopped in basic_init tests (#13798)Mathias Fußenegger2021-01-27
|
* lintchentau2021-01-26
|
* Don't show entire context when completingTony Chen2021-01-26
|
* feat: add completion to ':lua'TJ DeVries2021-01-26
|
* Merge pull request #13807 from spywhere/min-size-auto-signMatthieu Coudron2021-01-23
|\ | | | | Auto sign column with minimum size support
| * opt: add tests (#13783)Sirisak Lueangsaksri2021-01-20
| |