diff --git a/kclvm/tools/src/LSP/src/state.rs b/kclvm/tools/src/LSP/src/state.rs index af671e2ab..77d5bb55f 100644 --- a/kclvm/tools/src/LSP/src/state.rs +++ b/kclvm/tools/src/LSP/src/state.rs @@ -215,7 +215,7 @@ impl LanguageServerState { true } - /// Process vfs changed file. Update db cache when creat(did_open_file), modity(did_change) or delete(did_close_file) vfs files. + /// Process vfs changed file. Update db cache when create(did_open_file), modify(did_change) or delete(did_close_file) vfs files. fn process_changed_file(&mut self, file: ChangedFile) { match file.change_kind { ChangeKind::Create | ChangeKind::Modify => {