Parcourir la source

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

* feat: add jsonc support

* fix(jsonc): drop jsonc filetype detection workaround in lsp for now
shikun il y a 3 ans
Parent
commit
9ec39484eb
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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
+]]