aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorSergei Slipchenko <faergeek@gmail.com>2026-03-02 21:51:31 +0400
committerGitHub <noreply@github.com>2026-03-02 09:51:31 -0800
commita8361c3afc5b9281814e9f16a9d4291e095b38fa (patch)
tree2d8fd9df0cb8ef29763a26f196e0752e8564a224 /runtime/syntax/python.vim
parentab8371a26cf47a40d26af637455ea71da0d5a59d (diff)
downloadrneovim-a8361c3afc5b9281814e9f16a9d4291e095b38fa.tar.gz
rneovim-a8361c3afc5b9281814e9f16a9d4291e095b38fa.tar.bz2
rneovim-a8361c3afc5b9281814e9f16a9d4291e095b38fa.zip
docs(diagnostics): use the original namespace in "on-jump" example (#38124)
Problem: currently in the example a new diagnostic namespace is created for showing it manually with a custom config. Because of a separate namespace, when the original diagnostic source sets diagnostics again, it will not affect the diagnostic shown in that new namespace and the user would need to implement the logic for hiding it themselves, separately as well. Solution: instead of creating a new namespace, reuse the original diagnostic's namespace, so once the source sets diagnostics again, it's removed and hidden automatically without user having to do anything extra for that.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions