about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-28 16:19:17 +0900
committersefidel <contact@sefidel.net>2024-02-28 16:19:17 +0900
commitdf3bf2aa5ab50c6763721777656e9c1ddabec9e0 (patch)
tree8a7a88cae7919649da81eb808bb794e02da217cc /fnl/nvrc
parent6a1150bef245442774e7893f1f550ce8a1eaddd2 (diff)
downloadnvimrc-df3bf2aa5ab50c6763721777656e9c1ddabec9e0.tar.gz
nvimrc-df3bf2aa5ab50c6763721777656e9c1ddabec9e0.zip
feat(events): map hujson to jsonc
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/events.fnl4
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)))