Sfoglia il codice sorgente

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

* feat: add jsonc support

* fix(jsonc): drop jsonc filetype detection workaround in lsp for now
shikun 3 anni fa
parent
commit
9ec39484eb
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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
+]]