mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 12:35:00 +00:00
vim-patch:9.1.1296: completion: incorrect truncation logic
Problem: completion: incorrect truncation logic (after: v9.1.1284)
Solution: replace string allocation with direct screen rendering and
fixe RTL/LTR truncation calculations (glepnir)
closes: vim/vim#17081
d4dbf822dc
Co-authored-by: glepnir <glephunter@gmail.com>
This commit is contained in:
2
runtime/lua/vim/_meta/options.lua
generated
2
runtime/lua/vim/_meta/options.lua
generated
@@ -2334,6 +2334,7 @@ vim.bo.ft = vim.bo.filetype
|
||||
--- lastline '@' 'display' contains lastline/truncate
|
||||
--- trunc '>' truncated text in the
|
||||
--- `ins-completion-menu`.
|
||||
--- truncrl '<' same as "trunc' in 'rightleft' mode
|
||||
---
|
||||
--- Any one that is omitted will fall back to the default.
|
||||
---
|
||||
@@ -2376,6 +2377,7 @@ vim.bo.ft = vim.bo.filetype
|
||||
--- lastline NonText `hl-NonText`
|
||||
--- trunc one of the many Popup menu highlighting groups like
|
||||
--- `hl-PmenuSel`
|
||||
--- truncrl same as "trunc"
|
||||
---
|
||||
--- @type string
|
||||
vim.o.fillchars = ""
|
||||
|
||||
Reference in New Issue
Block a user