summaryrefslogtreecommitdiff
path: root/fnl/plugins/ui/lualine.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-05-20 00:08:22 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-05-20 00:08:22 +0200
commit7df25e8ce3e98e4cb56c5eb47c6ada1f414e083c (patch)
tree4a2c593af7e1116ea1d42dd95f50d0b1f0ecd856 /fnl/plugins/ui/lualine.fnl
parentb025d2ca64e9c3b4d65635883eead9bac625921f (diff)
Add icons file
Diffstat (limited to 'fnl/plugins/ui/lualine.fnl')
-rw-r--r--fnl/plugins/ui/lualine.fnl7
1 files changed, 5 insertions, 2 deletions
diff --git a/fnl/plugins/ui/lualine.fnl b/fnl/plugins/ui/lualine.fnl
index 170e8a9..e2b533b 100644
--- a/fnl/plugins/ui/lualine.fnl
+++ b/fnl/plugins/ui/lualine.fnl
@@ -1,5 +1,7 @@
;; Statusbar.
+(local icons (require :plugins.icons))
+
(local disable [:neogitstatus
:netrw
:lir
@@ -27,7 +29,8 @@
(local diagnostics {1 :diagnostics
:sources [:nvim_diagnostic]
:sections [:error :warn]
- :symbols {:error " " :warn " "}
+ :symbols {:error (.. (. icons :error) " ")
+ :warn (.. (. icons :warn) " ")}
:colored false
:disabled_buftypes [:nvim-tree]
:padding 0
@@ -40,7 +43,7 @@
:cond hide-in-width})
(local branch {1 "b:gitsigns_head"
- :icon " "
+ :icon (. icons :git)
:disabled_buftypes [:nvim-tree]
:cond hide-in-width})