summaryrefslogtreecommitdiff
path: root/fnl/config/lualine.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
commit71d538630b226da37e4ef21c5a84d6fad5f55421 (patch)
tree5f87a9c1194a556d12ffca79ea98a08d76af548e /fnl/config/lualine.fnl
parentfa9a5c6b80b5b0ffdcddc4b1d1c6cfe887d0bb04 (diff)
fix(load plugin): correct loading err
Diffstat (limited to 'fnl/config/lualine.fnl')
-rw-r--r--fnl/config/lualine.fnl57
1 files changed, 28 insertions, 29 deletions
diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl
index 908b6d2..8f12049 100644
--- a/fnl/config/lualine.fnl
+++ b/fnl/config/lualine.fnl
@@ -30,32 +30,31 @@
:cond hide_in_width
:color {}})
-(let [(ok? lualine) util.load-plugin :lualine]
- (when ok?
- (lualine.setup {
- :options {
- :icons_enabled true
- :theme "auto"
- :component_separators { :left "" :right "" }
- :section_separators { :left "" :right "" }
- :disabled_filetypes [ "alpha" "dashboard" "NvimTree" "Outline" ]
- :always_divide_middle true
- }
- :sections {
- :lualine_a [ "mode" ]
- :lualine_b { 1 branch 2 "filename" }
- :lualine_c { 1 diff }
- :lualine_x { 1 diagnostics 2 filetype }
- :lualine_y {}
- :lualine_z [ "location" "progress" "encoding" ]
- }
- :inactive_sections {
- :lualine_a [ "mode" ]
- :lualine_b [ "filename" ]
- :lualine_c {}
- :lualine_x {}
- :lualine_y {}
- :lualine_z [ "location" "progress" "encoding" ]
- }
- :tabline {}
- :extensions {}})))
+(let [lualine (util.load-plugin :lualine)]
+ (lualine.setup {
+ :options {
+ :icons_enabled true
+ :theme "auto"
+ :component_separators { :left "" :right "" }
+ :section_separators { :left "" :right "" }
+ :disabled_filetypes [ "alpha" "dashboard" "NvimTree" "Outline" ]
+ :always_divide_middle true
+ }
+ :sections {
+ :lualine_a [ "mode" ]
+ :lualine_b { 1 branch 2 "filename" }
+ :lualine_c { 1 diff }
+ :lualine_x { 1 diagnostics 2 filetype }
+ :lualine_y {}
+ :lualine_z [ "location" "progress" "encoding" ]
+ }
+ :inactive_sections {
+ :lualine_a [ "mode" ]
+ :lualine_b [ "filename" ]
+ :lualine_c {}
+ :lualine_x {}
+ :lualine_y {}
+ :lualine_z [ "location" "progress" "encoding" ]
+ }
+ :tabline {}
+ :extensions {}}))