stevearc / dressing.nvim

Neovim plugin to improve the default vim.ui interfaces
MIT License
1.7k stars 32 forks source link

Suggestion: `DressingInput` should use `listchars="precedes:…,extends:…"` #94

Closed chrisgrieser closed 1 year ago

chrisgrieser commented 1 year ago

I noticed that when I have entered text that is longer than the input window, the left side gets cut off, often leaving me confused. While I can (and did) set them via the win_options available, I think listchars to indicate text cut off make so much sesne that I'd suggest it should be set so by default.

input = {
    win_options = {
        list = true,
        listchars = "precedes:…,extends:…",
        sidescrolloff = 0, -- also reasonable default I think (see issue #76)
    },
},
stevearc commented 1 year ago

Good suggestion, thanks!