diff options
author | shikun <[email protected]> | 2021-09-21 15:02:15 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-21 09:02:15 +0200 |
commit | 9ec39484eb9b239ee2499bfd136cdbab1f4fbdfe (patch) | |
tree | eb457fc401b5a0d75bc44439b876b3fd116a7d0e /ftdetect/json.lua | |
parent | fbfd8c1fc3d0df1e2169df64c2264de7e23a9105 (diff) |
[Feature]: add basic `JSONC` support (#1535)
* feat: add jsonc support
* fix(jsonc): drop jsonc filetype detection workaround in lsp for now
Diffstat (limited to 'ftdetect/json.lua')
-rw-r--r-- | ftdetect/json.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 +]] |