File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,7 @@ pub(crate) async fn handle_initialized(
103
103
// changed by extensions or by the user without changing the actual
104
104
// underlying setting. Unfortunately we don't receive updates in that case.
105
105
106
- use crate :: lsp:: config:: SETTINGS ;
107
-
108
- for setting in SETTINGS {
106
+ for setting in crate :: lsp:: config:: SETTINGS {
109
107
regs. push ( Registration {
110
108
id : uuid:: Uuid :: new_v4 ( ) . to_string ( ) ,
111
109
method : String :: from ( "workspace/didChangeConfiguration" ) ,
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ use url::Url;
39
39
use crate :: lsp;
40
40
use crate :: lsp:: capabilities:: Capabilities ;
41
41
use crate :: lsp:: config:: indent_style_from_lsp;
42
+ use crate :: lsp:: config:: SETTINGS ;
42
43
use crate :: lsp:: documents:: Document ;
43
44
use crate :: lsp:: encoding:: get_position_encoding_kind;
44
45
use crate :: lsp:: indexer;
@@ -275,8 +276,6 @@ pub(crate) fn did_change_formatting_options(
275
276
// `insert_final_newline`
276
277
}
277
278
278
- use crate :: lsp:: config:: SETTINGS ;
279
-
280
279
async fn update_config (
281
280
_uris : Vec < Url > ,
282
281
client : & tower_lsp:: Client ,
You can’t perform that action at this time.
0 commit comments