From f80d456010a248fb00b1731abfb4f77b52353127 Mon Sep 17 00:00:00 2001 From: manuuurino <2855338+manuuurino@users.noreply.github.com> Date: Wed, 3 Jan 2024 21:15:06 +0100 Subject: [PATCH] feat(ui): added example file --- lua/config/options.lua | 1 + lua/plugins/ui.lua | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 lua/plugins/ui.lua diff --git a/lua/config/options.lua b/lua/config/options.lua index 3a18ba1..d775743 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -9,3 +9,4 @@ -- vim.opt.wrap = false -- sets vim.opt.wrap -- vim.g.mapleader = " " -- sets vim.g.mapleader +-- vim.g.icons_enabled = false -- disable icons in the UI (disable if no nerd font is available) diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua new file mode 100644 index 0000000..ac57a98 --- /dev/null +++ b/lua/plugins/ui.lua @@ -0,0 +1,33 @@ +if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE + +return { + "AstroNvim/astroui", + ---@type AstroUIOpts + opts = { + icons = { + -- configure the loading of the lsp in the status line + LSPLoading1 = "⠋", + LSPLoading2 = "⠙", + LSPLoading3 = "⠹", + LSPLoading4 = "⠸", + LSPLoading5 = "⠼", + LSPLoading6 = "⠴", + LSPLoading7 = "⠦", + LSPLoading8 = "⠧", + LSPLoading9 = "⠇", + LSPLoading10 = "⠏", + }, + text_icons = { + -- configure the loading of the lsp in the status line + LSPLoading1 = "|", + LSPLoading2 = "/", + LSPLoading3 = "-", + LSPLoading4 = "\\", + + -- configure neotree + FolderClosed = "+", + FolderEmpty = "-", + FolderOpen = "-", + }, + }, +}