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:
parent
408e157d0f
commit
5aba5e1b3d
1 changed files with 8 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue