Turn off use_on_type_format
too, for languages that have format_on_save
disabled (#14413)
Based on the discussion in https://github.com/zed-industries/zed/issues/14400 Release Notes: - N/A
This commit is contained in:
parent
f8b5e42070
commit
59ce3535d3
1 changed files with 6 additions and 10 deletions
|
@ -133,14 +133,7 @@
|
||||||
// The default number of lines to expand excerpts in the multibuffer by.
|
// The default number of lines to expand excerpts in the multibuffer by.
|
||||||
"expand_excerpt_lines": 3,
|
"expand_excerpt_lines": 3,
|
||||||
// Globs to match against file paths to determine if a file is private.
|
// Globs to match against file paths to determine if a file is private.
|
||||||
"private_files": [
|
"private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
|
||||||
"**/.env*",
|
|
||||||
"**/*.pem",
|
|
||||||
"**/*.key",
|
|
||||||
"**/*.cert",
|
|
||||||
"**/*.crt",
|
|
||||||
"**/secrets.yml"
|
|
||||||
],
|
|
||||||
// Whether to use additional LSP queries to format (and amend) the code after
|
// Whether to use additional LSP queries to format (and amend) the code after
|
||||||
// every "trigger" symbol input, defined by LSP server capabilities.
|
// every "trigger" symbol input, defined by LSP server capabilities.
|
||||||
"use_on_type_format": true,
|
"use_on_type_format": true,
|
||||||
|
@ -729,10 +722,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"C": {
|
"C": {
|
||||||
"format_on_save": "off"
|
"format_on_save": "off",
|
||||||
|
"use_on_type_format": false
|
||||||
},
|
},
|
||||||
"C++": {
|
"C++": {
|
||||||
"format_on_save": "off"
|
"format_on_save": "off",
|
||||||
|
"use_on_type_format": false
|
||||||
},
|
},
|
||||||
"CSS": {
|
"CSS": {
|
||||||
"prettier": {
|
"prettier": {
|
||||||
|
@ -784,6 +779,7 @@
|
||||||
},
|
},
|
||||||
"Markdown": {
|
"Markdown": {
|
||||||
"format_on_save": "off",
|
"format_on_save": "off",
|
||||||
|
"use_on_type_format": false,
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"allowed": true
|
"allowed": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue