diff options
author | sefidel <contact@sefidel.net> | 2024-02-28 16:19:17 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-02-28 16:19:17 +0900 |
commit | df3bf2aa5ab50c6763721777656e9c1ddabec9e0 (patch) | |
tree | 8a7a88cae7919649da81eb808bb794e02da217cc | |
parent | 6a1150bef245442774e7893f1f550ce8a1eaddd2 (diff) | |
download | nvimrc-df3bf2aa5ab50c6763721777656e9c1ddabec9e0.tar.gz nvimrc-df3bf2aa5ab50c6763721777656e9c1ddabec9e0.zip |
feat(events): map hujson to jsonc
-rw-r--r-- | fnl/nvrc/events.fnl | 4 |
1 files changed, 4 insertions, 0 deletions
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))) |