From 9890a00ffb25fe1ad0622d74af5d89468ad9f376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Lehmann?= Date: Sat, 4 Jul 2026 22:34:36 +0200 Subject: [PATCH] Make tokyonight primary and secondary cursor visually differentiable (#15832) The secondary cursor look the same as the primary cursors, making it difficult to use `,` or `alt-,` features. With this change the primary cursor is now colored as the current mode and the secondary cursors are always gray, making them visually differentiable. --- runtime/themes/tokyonight.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runtime/themes/tokyonight.toml b/runtime/themes/tokyonight.toml index 2d41764c..df8c66fc 100644 --- a/runtime/themes/tokyonight.toml +++ b/runtime/themes/tokyonight.toml @@ -70,7 +70,11 @@ hint = { fg = "hint" } "diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.background" = { bg = "bg", fg = "fg" } -"ui.cursor" = { modifiers = ["reversed"] } +"ui.cursor" = { fg = "bg", bg = "gray" } +"ui.cursor.primary" = { fg = "bg", bg = "fg" } +"ui.cursor.primary.normal" = { fg = "bg", bg = "blue" } +"ui.cursor.primary.insert" = { fg = "bg", bg = "light-green" } +"ui.cursor.primary.select" = { fg = "bg", bg = "magenta" } "ui.cursor.match" = { fg = "orange", modifiers = ["bold"] } "ui.cursorline.primary" = { bg = "bg-menu" } "ui.help" = { bg = "bg-menu", fg = "fg" } -- 2.51.2