소스 검색

[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
+]]