summaryrefslogtreecommitdiff
path: root/fnl/plugins/stay-in-place.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
commit3f539d94dfb004f56b0382971500408e49c4245b (patch)
tree92c936b9a0c22fefa4299826f3e002ec3a80f352 /fnl/plugins/stay-in-place.fnl
parent55a50821a7ecd5b4c1008515e88d126fd04c813b (diff)
Include BufNewFile event
Diffstat (limited to 'fnl/plugins/stay-in-place.fnl')
-rw-r--r--fnl/plugins/stay-in-place.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/plugins/stay-in-place.fnl b/fnl/plugins/stay-in-place.fnl
index b264a05..de6deb7 100644
--- a/fnl/plugins/stay-in-place.fnl
+++ b/fnl/plugins/stay-in-place.fnl
@@ -1,3 +1,3 @@
;; Keep cursor at character when indenting.
-{1 :gbprod/stay-in-place.nvim :event :BufReadPost :config true}
+{1 :gbprod/stay-in-place.nvim :event [:BufReadPost :BufNewFile] :config true}