Skip to content

Commit 0cf9364

Browse files
committed
fix fmt
1 parent 1b09a4a commit 0cf9364

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/emmylua_code_analysis/src/semantic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use std::collections::HashMap;
1414
use std::{collections::HashSet, sync::Arc};
1515

1616
pub use cache::{CacheEntry, CacheKey, CacheOptions, LuaAnalysisPhase, LuaInferCache};
17+
pub use decl::enum_variable_is_param;
1718
use emmylua_parser::{
1819
LuaCallExpr, LuaChunk, LuaExpr, LuaIndexKey, LuaParseError, LuaSyntaxNode, LuaSyntaxToken,
1920
LuaTableExpr,
@@ -34,7 +35,6 @@ use semantic_info::{
3435
pub(crate) use type_check::check_type_compact;
3536
use type_check::is_sub_type_of;
3637
use visibility::check_visibility;
37-
pub use decl::enum_variable_is_param;
3838

3939
use crate::{db_index::LuaTypeDeclId, Emmyrc, LuaDocument, LuaSemanticDeclId};
4040
use crate::{

crates/emmylua_ls/src/handlers/completion/providers/member_provider.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ pub fn add_completion(builder: &mut CompletionBuilder) -> Option<()> {
3434
&index_expr,
3535
&prefix_type,
3636
)
37-
.is_some() {
37+
.is_some()
38+
{
3839
return None;
3940
}
4041
let member_info_map = builder.semantic_model.get_member_info_map(&prefix_type)?;

0 commit comments

Comments
 (0)