这里有一个vscode使用的json schema
我复用到了emacs,但下面代码中的["/cangjie5.schema.yaml"]
和["/default.custom.yaml"]
正则该如何写使之成为["/*.schema.yaml"]
和["/*.custom.yaml"]
。
((yaml-mode . ((lsp-yaml-schemas . ((\./\.schemas/schema\.json . ["/cangjie5.schema.yaml"]) (\./\.schemas/custom\.json . ["/default.custom.yaml"]) )))))