Skip to content

Commit

Permalink
Merge pull request #840 from erlang-ls/714-fix-snippets-whitespaces
Browse files Browse the repository at this point in the history
[#714] Fix whitespaces in built-in snippets
  • Loading branch information
robertoaloi committed Dec 23, 2020
2 parents 32225f2 + a6cf0cb commit 13550ec
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions priv/snippets/edoc_function
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%------------------------------------------------------------------------------
%% @doc ${1:Function name}
%% ${2:Write some docs}
%% @end\n
%%------------------------------------------------------------------------------
%% @end
%%------------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion priv/snippets/edoc_module
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%%%=============================================================================
%%% @doc ${1:$TM_FILENAME_BASE}
%%% @end
%%%=============================================================================
%%%=============================================================================
2 changes: 1 addition & 1 deletion priv/snippets/header
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
%%==============================================================================
%% ${1:Header}
%%==============================================================================
%%==============================================================================
2 changes: 1 addition & 1 deletion priv/snippets/receive_after
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ receive
after
${3:Timeout} ->
${4:TimeoutBody}
end
end
2 changes: 1 addition & 1 deletion priv/snippets/record
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-record(${1:name}, {${2:field} = ${3:Value} :: ${4:Type}()}).
-record(${1:name}, {${2:field} = ${3:Value} :: ${4:Type}()}).
2 changes: 1 addition & 1 deletion priv/snippets/try
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ try ${1:Exprs}
catch
${2:Class}:${3:ExceptionPattern}:${4:Stacktrace} ->
${5:ExceptionBody}
end
end

0 comments on commit 13550ec

Please sign in to comment.