From a6cf0cb5109321fac1a716cd15645b80ccb9e197 Mon Sep 17 00:00:00 2001 From: Roberto Aloi Date: Wed, 23 Dec 2020 17:58:55 +0100 Subject: [PATCH] [#714] Fix whitespaces in built-in snippets --- priv/snippets/edoc_function | 4 ++-- priv/snippets/edoc_module | 2 +- priv/snippets/header | 2 +- priv/snippets/receive_after | 2 +- priv/snippets/record | 2 +- priv/snippets/try | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/priv/snippets/edoc_function b/priv/snippets/edoc_function index 0d6bd6d57..5246f0d0a 100644 --- a/priv/snippets/edoc_function +++ b/priv/snippets/edoc_function @@ -1,5 +1,5 @@ %%------------------------------------------------------------------------------ %% @doc ${1:Function name} %% ${2:Write some docs} -%% @end\n -%%------------------------------------------------------------------------------ +%% @end +%%------------------------------------------------------------------------------ \ No newline at end of file diff --git a/priv/snippets/edoc_module b/priv/snippets/edoc_module index cc346d561..b54b53eb6 100644 --- a/priv/snippets/edoc_module +++ b/priv/snippets/edoc_module @@ -1,4 +1,4 @@ %%%============================================================================= %%% @doc ${1:$TM_FILENAME_BASE} %%% @end -%%%============================================================================= +%%%============================================================================= \ No newline at end of file diff --git a/priv/snippets/header b/priv/snippets/header index 403f45df3..ec485b1ef 100644 --- a/priv/snippets/header +++ b/priv/snippets/header @@ -1,3 +1,3 @@ %%============================================================================== %% ${1:Header} -%%============================================================================== +%%============================================================================== \ No newline at end of file diff --git a/priv/snippets/receive_after b/priv/snippets/receive_after index 9c1e13f4e..e366f201e 100644 --- a/priv/snippets/receive_after +++ b/priv/snippets/receive_after @@ -4,4 +4,4 @@ receive after ${3:Timeout} -> ${4:TimeoutBody} -end +end \ No newline at end of file diff --git a/priv/snippets/record b/priv/snippets/record index 364d3fb75..3d2507f40 100644 --- a/priv/snippets/record +++ b/priv/snippets/record @@ -1 +1 @@ --record(${1:name}, {${2:field} = ${3:Value} :: ${4:Type}()}). +-record(${1:name}, {${2:field} = ${3:Value} :: ${4:Type}()}). \ No newline at end of file diff --git a/priv/snippets/try b/priv/snippets/try index 6882b7aea..fe7e1e9b5 100644 --- a/priv/snippets/try +++ b/priv/snippets/try @@ -2,4 +2,4 @@ try ${1:Exprs} catch ${2:Class}:${3:ExceptionPattern}:${4:Stacktrace} -> ${5:ExceptionBody} -end +end \ No newline at end of file