File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ Valid options: "off" | "messages" | "verbose"
142142List used to fill diagnostic messages.
143143
144144Default: "Quickfix"
145- Valid options: "Quickfix" | "Location" | | v:null|
145+ Valid options: "Quickfix" | "Location" | "Disabled"
146146
1471472.9 g:LanguageClient_diagnosticsEnable *g:LanguageClient_diagnosticsEnable*
148148
Original file line number Diff line number Diff line change @@ -1676,6 +1676,7 @@ pub trait ILanguageClient: IVim {
16761676 bail ! ( "Failed to set location list!" ) ;
16771677 }
16781678 }
1679+ DiagnosticsList :: Disabled => { }
16791680 }
16801681
16811682 let current_filename: String = self . eval ( VimVar :: Filename ) ?;
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ impl FromStr for SelectionUI {
173173pub enum DiagnosticsList {
174174 Quickfix ,
175175 Location ,
176+ Disabled ,
176177}
177178
178179impl Default for DiagnosticsList {
@@ -188,6 +189,7 @@ impl FromStr for DiagnosticsList {
188189 match s. to_ascii_uppercase ( ) . as_str ( ) {
189190 "QUICKFIX" => Ok ( DiagnosticsList :: Quickfix ) ,
190191 "LOCATION" => Ok ( DiagnosticsList :: Location ) ,
192+ "DISABLED" => Ok ( DiagnosticsList :: Disabled ) ,
191193 _ => bail ! ( "Invalid option for LanguageClient_diagnosticsList: {}" , s) ,
192194 }
193195 }
You can’t perform that action at this time.
0 commit comments