Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.org
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
* Changelog
** Unreleased 9.0.1
* Add explicit flag to enable (or disable) JSON validation.
* Fix Accommodate renaming of lsp-postgres binaries
* Fix =lsp-org= for org >= 9.7 (see #4300)
* Add format on save support
Expand Down
7 changes: 7 additions & 0 deletions clients/lsp-json.el
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,15 @@ here, https://github.com/emacs-lsp/lsp-mode/issues/3368#issuecomment-1049635155.
:group 'lsp-json
:package-version '(lsp-mode . "6.3"))

(defcustom lsp-json-validate t
"Enable json validaten."
:type 'boolean
:group 'lsp-json
:package-version '(lsp-mode . "9.0.1"))

(lsp-register-custom-settings
'(("json.schemas" lsp-json-schemas)
("json.validate.enable" lsp-json-validate)
("http.proxy" lsp-http-proxy)
("http.proxyStrictSSL" lsp-http-proxyStrictSSL)))

Expand Down