diff options
| author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2021-09-30 18:39:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 18:39:47 +0200 |
| commit | 60df4ef422cb81ef2054572ef7ea6e3e7e236077 (patch) | |
| tree | 0026791f496c9f2e12bc3680ae8b8edc0c7289e2 /lua/nvim-lsp-installer/ui/status-win/init.lua | |
| parent | add Lua API to override default settings (#111) (diff) | |
| download | mason-60df4ef422cb81ef2054572ef7ea6e3e7e236077.tar mason-60df4ef422cb81ef2054572ef7ea6e3e7e236077.tar.gz mason-60df4ef422cb81ef2054572ef7ea6e3e7e236077.tar.bz2 mason-60df4ef422cb81ef2054572ef7ea6e3e7e236077.tar.lz mason-60df4ef422cb81ef2054572ef7ea6e3e7e236077.tar.xz mason-60df4ef422cb81ef2054572ef7ea6e3e7e236077.tar.zst mason-60df4ef422cb81ef2054572ef7ea6e3e7e236077.zip | |
feat(ui): add a popup option (#100)
Co-authored-by: William Boman <william@redwill.se>
Diffstat (limited to 'lua/nvim-lsp-installer/ui/status-win/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/ui/status-win/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/nvim-lsp-installer/ui/status-win/init.lua b/lua/nvim-lsp-installer/ui/status-win/init.lua index 76569352..7ac5da64 100644 --- a/lua/nvim-lsp-installer/ui/status-win/init.lua +++ b/lua/nvim-lsp-installer/ui/status-win/init.lua @@ -55,7 +55,7 @@ local function InstalledServers(servers) Ui.HlTextNode { { { settings.current.ui.icons.server_installed, "LspInstallerGreen" }, - { " " .. server.name, "Normal" }, + { " " .. server.name, "" }, { (" installed %s"):format(get_relative_install_time(server.creation_time)), "Comment", @@ -93,7 +93,7 @@ local function PendingServers(servers) settings.current.ui.icons.server_pending, has_failed and "LspInstallerError" or "LspInstallerOrange", }, - { " " .. server.name, server.installer.is_running and "Normal" or "LspInstallerGray" }, + { " " .. server.name, server.installer.is_running and "" or "LspInstallerGray" }, { " " .. note, "Comment" }, { has_failed and "" or (" " .. get_last_non_empty_line(server.installer.tailed_output)), @@ -237,7 +237,7 @@ local function init(all_servers) local window = display.new_view_only_win "LSP servers" window.view(function(state) - return Ui.Node { + return Indent { Header(), Servers(state.servers), } |
