Skip to content

Commit

Permalink
fix the format support bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Oct 16, 2023
1 parent 83c7684 commit 55ab728
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class SumnekoLspServerDescriptor(project: Project) : ProjectWideLspServerDescrip
ideCanFormatThisFileItself: Boolean,
serverExplicitlyWantsToFormatThisFile: Boolean
): Boolean {
return file.fileType !is LuaLanguage
return file.fileType is LuaFileType
}
}
}
Expand Down

0 comments on commit 55ab728

Please sign in to comment.