From e4a35b5a9f82d8fa456fab12e2279afe78c70c31 Mon Sep 17 00:00:00 2001 From: Cassin01 Date: Mon, 16 Sep 2024 01:43:36 +0900 Subject: [PATCH] update: init.fnl, --- fnl/core/au/init.fnl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fnl/core/au/init.fnl b/fnl/core/au/init.fnl index 7bbbdd0..340265f 100644 --- a/fnl/core/au/init.fnl +++ b/fnl/core/au/init.fnl @@ -273,6 +273,12 @@ ) :pattern [:*.scm] :group pattern}) +(create_autocmd + [:BufRead :BufNewFile] + {:callback (λ [] + (vim.cmd "setlocal filetype=json")) + :pattern [:*.json.golden] + :group pattern}) ;; }}} (when (vim.fn.has :mac)