From d63db599729905568ee1e775d686c5215fb429f8 Mon Sep 17 00:00:00 2001 From: William Boman Date: Thu, 7 Jul 2022 03:21:56 +0200 Subject: fix(ui): display correct keybinding for language filter --- lua/mason/ui/components/language-filter.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lua') 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 to apply filter", + p.Comment( + (" press %s to apply filter"):format(settings.current.ui.keymaps.apply_language_filter) + ), }, }, } -- cgit v1.2.3-70-g09d2