aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/mason/ui/components/language-filter.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/mason/ui/components/language-filter.lua b/lua/mason/ui/components/language-filter.lua
index a3069272..8b3060f1 100644
--- a/lua/mason/ui/components/language-filter.lua
+++ b/lua/mason/ui/components/language-filter.lua
@@ -1,5 +1,6 @@
local Ui = require "mason.core.ui"
local p = require "mason.ui.palette"
+local settings = require "mason.settings"
---@param state InstallerUiState
return function(state)
@@ -22,7 +23,9 @@ return function(state)
Ui.HlTextNode {
{
p.Bold "Language Filter:",
- p.Comment " press <C-f> to apply filter",
+ p.Comment(
+ (" press %s to apply filter"):format(settings.current.ui.keymaps.apply_language_filter)
+ ),
},
},
}