summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <>2023-04-06 18:38:51 +0200
committerMike Vink <>2023-04-06 18:38:51 +0200
commita9d2ab65822e07d82c9baa5a4e17a984cef18f27 (patch)
treef2a86cdce66f56dd06d46b5085d7c2fec342df2b
parent18aafc4a0555c9fa8459102e7dab38213c030c5b (diff)
fixup
-rw-r--r--fnl/conf/newtab/init.fnl6
-rw-r--r--fnl/conf/pkgs/heirline.fnl2
2 files changed, 6 insertions, 2 deletions
diff --git a/fnl/conf/newtab/init.fnl b/fnl/conf/newtab/init.fnl
index 55309de..560e0e2 100644
--- a/fnl/conf/newtab/init.fnl
+++ b/fnl/conf/newtab/init.fnl
@@ -13,6 +13,7 @@
:finder (finders.new_oneshot_job [:fd
:-d1
"."
+ (os.getenv :HOME)
(.. (os.getenv :HOME)
:/projects)]
{})
@@ -27,7 +28,10 @@
1)))
(vim.cmd (.. :tc
(. selection
- 1))))))
+ 1)))
+ (vim.cmd (.. :Telescope
+ " "
+ :find_files)))))
:sorter (conf.generic_sorter opts)}))
(finder:find))
diff --git a/fnl/conf/pkgs/heirline.fnl b/fnl/conf/pkgs/heirline.fnl
index e21dcd0..b39bcf3 100644
--- a/fnl/conf/pkgs/heirline.fnl
+++ b/fnl/conf/pkgs/heirline.fnl
@@ -169,7 +169,7 @@
{:hl (active-hl {:fg (theme :syn :fun)})
:provider (lambda [self]
(local harpoon_marks
- (tab-harpoon-marks self.tabpage))
+ (tab-harpoon-marks self.tabnr))
(table.concat harpoon_marks " "))}
{:hl active-tab-hrpn :provider " ] %T"}))