Add default settings for LaTeX (#27286)
Closes https://github.com/rzukic/zed-latex/issues/70 where the language server `texlab` is not used for code formatting when the "cspell" extension is also installed, because it also provides a language server for the LaTeX filetype but only for spell checking. Release Notes: - Fix conflict between LaTeX and cspell extensions affecting code formatting on save.
This commit is contained in:
@@ -1258,6 +1258,14 @@
|
|||||||
"allowed": true
|
"allowed": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"LaTeX": {
|
||||||
|
"format_on_save": "on",
|
||||||
|
"formatter": "language_server",
|
||||||
|
"language_servers": ["texlab", "..."],
|
||||||
|
"prettier": {
|
||||||
|
"allowed": false
|
||||||
|
}
|
||||||
|
},
|
||||||
"Markdown": {
|
"Markdown": {
|
||||||
"format_on_save": "off",
|
"format_on_save": "off",
|
||||||
"use_on_type_format": false,
|
"use_on_type_format": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user