aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/ui/init.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-05-23 01:25:01 +0200
committerGitHub <noreply@github.com>2022-05-23 01:25:01 +0200
commit4ed43f1f885612f587253b3e32f54408c793ca55 (patch)
tree31a3d69eaa23acc6f49b1c4f42b3b42d3b0c31dc /lua/nvim-lsp-installer/ui/init.lua
parentfeat(github): add setting to customize asset download url (#711) (diff)
downloadmason-4ed43f1f885612f587253b3e32f54408c793ca55.tar
mason-4ed43f1f885612f587253b3e32f54408c793ca55.tar.gz
mason-4ed43f1f885612f587253b3e32f54408c793ca55.tar.bz2
mason-4ed43f1f885612f587253b3e32f54408c793ca55.tar.lz
mason-4ed43f1f885612f587253b3e32f54408c793ca55.tar.xz
mason-4ed43f1f885612f587253b3e32f54408c793ca55.tar.zst
mason-4ed43f1f885612f587253b3e32f54408c793ca55.zip
ui: remove borders & change heading style (#713)
Diffstat (limited to 'lua/nvim-lsp-installer/ui/init.lua')
-rw-r--r--lua/nvim-lsp-installer/ui/init.lua16
1 files changed, 10 insertions, 6 deletions
diff --git a/lua/nvim-lsp-installer/ui/init.lua b/lua/nvim-lsp-installer/ui/init.lua
index 73548d1f..d3c9a574 100644
--- a/lua/nvim-lsp-installer/ui/init.lua
+++ b/lua/nvim-lsp-installer/ui/init.lua
@@ -172,11 +172,14 @@ local function Header(props)
return Ui.CascadingStyleNode({ "CENTERED" }, {
Ui.HlTextNode {
{
- { props.is_showing_help and props.help_command_text or "", "LspInstallerHighlighted" },
+ { props.is_showing_help and (" " .. props.help_command_text) or "", "LspInstallerHeaderHelp" },
{
- props.is_showing_help and "nvim-lsp-installer" .. (" "):rep(#props.help_command_text)
- or "nvim-lsp-installer",
- props.is_showing_help and "LspInstallerHighlighted" or "LspInstallerHeader",
+ props.is_showing_help and "nvim-lsp-installer " or " nvim-lsp-installer ",
+ props.is_showing_help and "LspInstallerHeaderHelp" or "LspInstallerHeader",
+ },
+ {
+ props.is_showing_help and (" "):rep(#props.help_command_text) or "",
+ "",
},
},
{
@@ -966,12 +969,13 @@ local function init(all_servers)
window.open {
highlight_groups = {
- "hi def LspInstallerHeader gui=bold guifg=#ebcb8b",
+ "hi def LspInstallerHeader gui=bold guifg=#222222 guibg=#DCA561",
+ "hi def LspInstallerHeaderHelp gui=bold guifg=#222222 guibg=#56B6C2",
"hi def LspInstallerServerExpanded gui=italic",
"hi def LspInstallerHeading gui=bold",
"hi def LspInstallerGreen guifg=#a3be8c",
"hi def LspInstallerVaderSaber guifg=#f44747 gui=bold",
- "hi def LspInstallerOrange ctermfg=222 guifg=#ebcb8b",
+ "hi def LspInstallerOrange ctermfg=222 guifg=#DCA561",
"hi def LspInstallerMuted guifg=#888888 ctermfg=144",
"hi def LspInstallerLabel gui=bold",
"hi def LspInstallerError ctermfg=203 guifg=#f44747",