From 5054e04cfefeeaa1b2313173f5fcff3f709f1b01 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sat, 22 Apr 2023 21:47:31 +0200 Subject: fixup --- fnl/conf/init.fnl | 1 + fnl/conf/pkgs/heirline.fnl | 9 +++++++++ fnl/conf/pkgs/lspconfig.fnl | 1 + 3 files changed, 11 insertions(+) (limited to 'fnl') diff --git a/fnl/conf/init.fnl b/fnl/conf/init.fnl index 6309919..28247f1 100644 --- a/fnl/conf/init.fnl +++ b/fnl/conf/init.fnl @@ -2,6 +2,7 @@ (vim.cmd "filetype plugin on") (vim.cmd "filetype indent on") (vim.cmd "highlight WinSeparator guibg=None") +(vim.cmd "packadd cfilter") (require :conf.settings) (require :conf.pkgs) diff --git a/fnl/conf/pkgs/heirline.fnl b/fnl/conf/pkgs/heirline.fnl index f155031..8ad8820 100644 --- a/fnl/conf/pkgs/heirline.fnl +++ b/fnl/conf/pkgs/heirline.fnl @@ -93,6 +93,13 @@ (.. "" purity "(" name ")")) :hl {:fg (theme :syn :fun) :bold true :bg (theme :ui :bg_m3)}}) +(local RecordingMacro {:condition #(not= "" (vim.fn.reg_recording)) + :provider (fn [self] + (.. "Recording... " (vim.fn.reg_recording))) + :hl {:fg (theme :syn :fun) + :bold true + :bg (theme :ui :bg_m3)}}) + (local harpoon (require :harpoon)) (local harpoon-mark (require :harpoon.mark)) (local harpoon-colors [(theme :syn :identifier) @@ -198,6 +205,8 @@ Space TabPages DAPMessages + Space + RecordingMacro Align Space Nix diff --git a/fnl/conf/pkgs/lspconfig.fnl b/fnl/conf/pkgs/lspconfig.fnl index 8d01061..accd001 100644 --- a/fnl/conf/pkgs/lspconfig.fnl +++ b/fnl/conf/pkgs/lspconfig.fnl @@ -33,6 +33,7 @@ :python {:interpreterPath :python} :validation {:enabled true :lint {:enabled false + :arguments " --profile=production --write=all " :path :ansible-lint}}}}) ;; (tset configs :fennel_language_server -- cgit v1.2.3