Skip to content

Commit

Permalink
Fix formatting (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
plux authored Dec 21, 2023
1 parent 4322eb1 commit 3e54aae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/els_lsp/src/els_unused_includes_diagnostics.erl
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ is_default() ->
-spec run(uri()) -> [els_diagnostics:diagnostic()].
run(Uri) ->
%% hrl don't have to warning unuse
case filename:extension(binary_to_list(Uri)) =/= ".hrl"
andalso els_utils:lookup_document(Uri)
case
filename:extension(binary_to_list(Uri)) =/= ".hrl" andalso
els_utils:lookup_document(Uri)
of
false ->
[];
Expand Down

0 comments on commit 3e54aae

Please sign in to comment.