File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,12 @@ Newlines and excess whitespace are removed."
155
155
:group 'lsp-xml
156
156
:package-version '(lsp-mode . " 6.1" ))
157
157
158
+ (defcustom lsp-xml-validation-resolve-external-entities nil
159
+ " Enable/disable resolution (downloading) of external entities from the internet."
160
+ :type 'boolean
161
+ :group 'lsp-xml
162
+ :package-version '(lsp-mode . " 7.1" ))
163
+
158
164
(defcustom lsp-xml-validation-schema t
159
165
" Enable/disable schema based validation. Ignored if
160
166
\" xml.validation.enabled\" : false."
@@ -164,6 +170,7 @@ Newlines and excess whitespace are removed."
164
170
165
171
(lsp-register-custom-settings '
166
172
((" xml.validation.schema" lsp-xml-validation-schema t )
173
+ (" xml.validation.resolveExternalEntities" lsp-xml-validation-resolve-external-entities)
167
174
(" xml.validation.enabled" lsp-xml-validation-enabled t )
168
175
(" xml.validation.noGrammar" lsp-xml-validation-no-grammar)
169
176
(" xml.server.workDir" lsp-xml-server-work-dir)
You can’t perform that action at this time.
0 commit comments