You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/neorg/health.lua
+20-3
Original file line number
Diff line number
Diff line change
@@ -90,18 +90,35 @@ return {
90
90
ifkey_healthcheck.preset_existsthen
91
91
vim.health.info(string.format("Neorg is configured to use keybind preset `%s`", keybinds_config.preset))
92
92
else
93
-
vim.health.error(string.format("Invalid configuration found: preset `%s` does not exist! Did you perhaps make a typo?", keybinds_config.preset))
93
+
vim.health.error(
94
+
string.format(
95
+
"Invalid configuration found: preset `%s` does not exist! Did you perhaps make a typo?",
96
+
keybinds_config.preset
97
+
)
98
+
)
94
99
return
95
100
end
96
101
97
102
forremap_key, remap_rhsinvim.spairs(key_healthcheck.remaps) do
98
-
vim.health.ok(string.format("Action `%s` (bound to `%s` by default) has been remapped to something else in your configuration.", remap_rhs, remap_key))
103
+
vim.health.ok(
104
+
string.format(
105
+
"Action `%s` (bound to `%s` by default) has been remapped to something else in your configuration.",
106
+
remap_rhs,
107
+
remap_key
108
+
)
109
+
)
99
110
end
100
111
101
112
localok=true
102
113
103
114
forconflict_key, rhsinvim.spairs(key_healthcheck.conflicts) do
104
-
vim.health.warn(string.format("Key `%s` conflicts with a key bound by the user. Neorg will not bind this key.", conflict_key), string.format("consider mapping `%s` to a different key than the one bound by Neorg.", rhs))
115
+
vim.health.warn(
116
+
string.format(
117
+
"Key `%s` conflicts with a key bound by the user. Neorg will not bind this key.",
118
+
conflict_key
119
+
),
120
+
string.format("consider mapping `%s` to a different key than the one bound by Neorg.", rhs)
0 commit comments