mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 12:27:42 +03:00
Passing extra formatting options to LSPs (#2635)
* allows passing extra formatting options to LSPs - adds optional field 'format' to [[language]] sections in 'languages.toml' - passes specified options the LSPs via FormattingOptions * cleaner conversion of formatting properties * move formatting options inside lsp::Client * cleans up formatting properties merge
This commit is contained in:
parent
b2bd87df81
commit
f92a25a856
4 changed files with 34 additions and 0 deletions
|
@ -78,6 +78,7 @@ pub struct LanguageConfiguration {
|
|||
|
||||
#[serde(default)]
|
||||
pub auto_format: bool,
|
||||
|
||||
#[serde(default)]
|
||||
pub diagnostic_severity: Severity,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue