diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-07-12 21:46:07 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-07-12 21:46:07 +0200 |
commit | df211fae51faddd7b47b78806660e21f6ec1a694 (patch) | |
tree | 9884c4945a1e60f19c52e4746953f0212b7fc8a7 /fnl/util | |
parent | 9ccdc18b7926ed5e069e7f305ac5ec304f87a65f (diff) |
Debloat loading of plugins
Diffstat (limited to 'fnl/util')
-rw-r--r-- | fnl/util/cursorline.fnl | 6 |
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)] |