From 17738ca136a6e312cc4f5df6b472ba2fddc58442 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Sun, 2 May 2021 18:13:37 +0200 Subject: [PATCH] cleanup vim --- files/.config/nvim/fnl/init.fnl | 5 ++--- files/.config/nvim/fnl/plugins/bufferline.fnl | 2 +- files/.config/nvim/fnl/plugins/galaxyline.fnl | 2 +- files/.config/nvim/fnl/plugins/lsp.fnl | 2 +- files/.config/nvim/fnl/utils.fnl | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/files/.config/nvim/fnl/init.fnl b/files/.config/nvim/fnl/init.fnl index 1e3cbb0..6f25891 100644 --- a/files/.config/nvim/fnl/init.fnl +++ b/files/.config/nvim/fnl/init.fnl @@ -14,12 +14,11 @@ (require "plugins.galaxyline") (require "plugins.bufferline") +(def- colors utils.colors) + ;(tset debug :traceback fennel.traceback) - -(def colors (utils.colors)) - (set vim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.") ; Colors ------------------------------------------------------- foldstart diff --git a/files/.config/nvim/fnl/plugins/bufferline.fnl b/files/.config/nvim/fnl/plugins/bufferline.fnl index be4ea6d..9ce1edd 100644 --- a/files/.config/nvim/fnl/plugins/bufferline.fnl +++ b/files/.config/nvim/fnl/plugins/bufferline.fnl @@ -5,7 +5,7 @@ utils utils bufferline bufferline}}) -(local colors (utils.colors)) +(def- colors utils.colors) ; :h bufferline-lua-highlights (let [selected {:guibg colors.neutral_aqua :guifg colors.dark0 :gui ""} diff --git a/files/.config/nvim/fnl/plugins/galaxyline.fnl b/files/.config/nvim/fnl/plugins/galaxyline.fnl index bf62d26..facfde0 100644 --- a/files/.config/nvim/fnl/plugins/galaxyline.fnl +++ b/files/.config/nvim/fnl/plugins/galaxyline.fnl @@ -12,7 +12,7 @@ require-macros [macros]}) -(local colors (utils.colors)) +(def- colors utils.colors) (local modes {:n {:text "NORMAL" :colors {:bg colors.neutral_aqua :fg colors.dark0}} diff --git a/files/.config/nvim/fnl/plugins/lsp.fnl b/files/.config/nvim/fnl/plugins/lsp.fnl index cb52e49..b2860e8 100644 --- a/files/.config/nvim/fnl/plugins/lsp.fnl +++ b/files/.config/nvim/fnl/plugins/lsp.fnl @@ -14,7 +14,7 @@ require-macros [macros]}) -(local colors (utils.colors)) +(def- colors utils.colors) (symbols-outline.setup { :highlight_hovered_item true :show_guides true}) diff --git a/files/.config/nvim/fnl/utils.fnl b/files/.config/nvim/fnl/utils.fnl index 450cf02..c8f4e76 100644 --- a/files/.config/nvim/fnl/utils.fnl +++ b/files/.config/nvim/fnl/utils.fnl @@ -41,7 +41,7 @@ -(defn colors [] +(def colors { :dark0_hard "#1d2021" :dark0 "#282828" :dark0_soft "#32302f"