浏览代码

[Feature]: add basic `JSONC` support (#1535)

* feat: add jsonc support

* fix(jsonc): drop jsonc filetype detection workaround in lsp for now
shikun 3 年之前
父节点
当前提交
9ec39484eb
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ftdetect/json.lua

+ 3 - 0
ftdetect/json.lua

@@ -0,0 +1,3 @@
+vim.cmd [[
+ au BufRead,BufNewFile tsconfig.json set filetype=jsonc
+]]