From 9ec39484eb9b239ee2499bfd136cdbab1f4fbdfe Mon Sep 17 00:00:00 2001 From: shikun <17328586+kunish@users.noreply.github.com> Date: Tue, 21 Sep 2021 15:02:15 +0800 Subject: [Feature]: add basic `JSONC` support (#1535) * feat: add jsonc support * fix(jsonc): drop jsonc filetype detection workaround in lsp for now --- ftdetect/json.lua | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ftdetect/json.lua (limited to 'ftdetect') diff --git a/ftdetect/json.lua b/ftdetect/json.lua new file mode 100644 index 00000000..9824e3e4 --- /dev/null +++ b/ftdetect/json.lua @@ -0,0 +1,3 @@ +vim.cmd [[ + au BufRead,BufNewFile tsconfig.json set filetype=jsonc +]] -- cgit v1.2.3