Jelajahi Sumber

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

* feat: add jsonc support

* fix(jsonc): drop jsonc filetype detection workaround in lsp for now
shikun 3 tahun lalu
induk
melakukan
9ec39484eb
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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
+]]