neovim/test/functional
Christian Clason b7f3f11049
lsp: compute height of floating preview correctly for wrapped lines (#12380)
* take wrapping into account when computing float height

* factor out size calculation

* add test

* accept and pass through opts.wrap_at in floating_preview

* make padding configurable

* slightly refactor fancy_floating_markdown to make use of make_position

* padding using string.format

* move trim and pad to separate function

* nit

Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>

* remove mention of backward compat

* make lint happy

Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
2020-06-04 14:23:03 -04:00
..
api API: nvim_create_buf: unset 'modeline' in scratch-buffer #12379 2020-05-29 09:45:32 -07:00
autocmd Add v:event.visual during TextYankPost (#12382) 2020-06-03 10:51:25 -04:00
cmdline doc: fix typos 2019-11-27 22:47:25 -08:00
core vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117) 2020-05-24 20:45:25 +02:00
eval lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
ex_cmds test: add more profile tests 2020-05-10 03:16:30 +09:00
fixtures test/LSP: assert contents of log file 2020-02-16 22:09:28 -08:00
insert edit.c: Ensure undo sync when emulating <Esc>x #11706 2020-01-12 17:09:39 -08:00
legacy vim-patch:8.1.1435: memory usage test is a bit too flaky 2020-05-07 16:48:08 +09:00
lua lua: fix behavior when split empty string (#12429) 2020-06-04 08:48:48 -04:00
normal lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
options vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local (#11854) 2020-03-17 20:05:34 +01:00
plugin lsp: compute height of floating preview correctly for wrapped lines (#12380) 2020-06-04 14:23:03 -04:00
provider provider/perl: test older versions 2020-01-20 19:44:00 -05:00
shada shada: initialize jumplist before search pattern (#10964) 2019-09-07 18:02:29 -07:00
terminal terminal: disable 'scrolloff' (fixes flicker) 2020-05-04 21:21:33 -07:00
ui api/ui: simplify popup menu position get/set logic; fix test 2020-04-28 01:54:16 +08:00
viml tests: adjust to latest Vim patches 2019-05-05 14:05:25 +02:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
preload.lua test/functional/preload.lua: _set_fmode for Windows 2019-09-25 05:47:15 +02:00