diff options
| author | Yi Ming <ofseed@foxmail.com> | 2026-05-05 20:35:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-05 08:35:35 -0400 |
| commit | b56f7c6edd339ab8be32738f1ecb0d7056b7ab9c (patch) | |
| tree | 0f282f57331cab5135d25c26cfa288da06acc4e4 /runtime/lua/vim/provider/python.lua | |
| parent | e4876d8126e05b28f2e856bdc8801ad2e6914276 (diff) | |
| download | rneovim-b56f7c6edd339ab8be32738f1ecb0d7056b7ab9c.tar.gz rneovim-b56f7c6edd339ab8be32738f1ecb0d7056b7ab9c.tar.bz2 rneovim-b56f7c6edd339ab8be32738f1ecb0d7056b7ab9c.zip | |
fix(diagnostic): status() respects config.signs #39525
Problem:
`diagnostic.status` only follows the `config.status.format` setting to determine how to display diagnostic signs. However, `signs` can actually also be configured via `config.signs.text`.
Solution:
If the user has set symbols via `config.status.format`, let that determine the content of `signs`; otherwise, use `config.signs.text` for display.
TODO: drop support `type(config.status.format) == 'table'`; users should just configure `config.signs.text` directly.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions