From df3bf2aa5ab50c6763721777656e9c1ddabec9e0 Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 28 Feb 2024 16:19:17 +0900 Subject: feat(events): map hujson to jsonc --- fnl/nvrc/events.fnl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fnl/nvrc/events.fnl') diff --git a/fnl/nvrc/events.fnl b/fnl/nvrc/events.fnl index d66c604..43b5efa 100644 --- a/fnl/nvrc/events.fnl +++ b/fnl/nvrc/events.fnl @@ -48,3 +48,7 @@ (ag! mail-wrap-line (au! FileType mail (setl! textwidth 80))) + +(ag! extra-filetypes + ;; Tailscale "Human JSON" files + (au! [BufNewFile BufRead] "*.hujson" (vim.api.nvim_buf_set_option (vim.api.nvim_get_current_buf) :filetype :jsonc))) -- cgit 1.4.1