summaryrefslogtreecommitdiff
path: root/fnl/util/cursorline.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/util/cursorline.fnl')
-rw-r--r--fnl/util/cursorline.fnl6
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/util/cursorline.fnl b/fnl/util/cursorline.fnl
index e094a4a..cec76f2 100644
--- a/fnl/util/cursorline.fnl
+++ b/fnl/util/cursorline.fnl
@@ -1,12 +1,12 @@
-;; Functions for showing and hiding the cursorline.
+;; Shows (hides) the cursorline in the (un)focused window.
-(local ignore-filetypes [:neo-tree])
+(local ignored [:neo-tree])
(fn filetype []
vim.bo.filetype)
(fn ignore []
- (vim.tbl_contains ignore-filetypes (filetype)))
+ (vim.tbl_contains ignored (filetype)))
(fn show []
(let [(ok cl) (pcall vim.api.nvim_win_get_var 0 :auto-cursorline)]