Merge pull request #341 from equwal/delete-trailing-whitespace

Delete obviously erroneous (and often annoying) trailing whitespace.
This commit is contained in:
Andrea Crotti 2019-11-17 17:30:47 +00:00 committed by GitHub
commit 2cc5f35cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 24 additions and 24 deletions

View file

@ -17,5 +17,5 @@
publisher = {${publisher}}}${,
note = {${note}}}
}
$0

View file

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: using namespace ...
# name: using namespace ...
# key: using
# --
using namespace ${std};

View file

@ -10,5 +10,5 @@ user "${1:random}" do
home "${5:/home/random}"
shell "${6:/bin/zsh}"
password "${7:\$1\$JJsvHslV\$szsCjVEroftprNn4JHtDi.}"
supports :manage_home =>manage_home true
supports :manage_home =>manage_home true
end

View file

@ -15,7 +15,7 @@ ${5:public} class ${1:Name}
/// <summary>
/// ${4:Default Destructor}
/// </summary>
/// </summary>
public ~$1()
{
}

View file

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: enum … { … }
# name: enum … { … }
# key: enum
# --
enum ${1:name}

View file

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: try … finally …
# name: try … finally …
# key: tryf
# --
try

View file

@ -3,7 +3,7 @@
# contributor : Xah Lee
# --
;; idiom for processing a list of files in dired's marked files
;; suppose myProcessFile is your function that takes a file path
;; and do some processing on the file

View file

@ -6,7 +6,7 @@
"Replace “<” to “&lt;” and other chars in HTML.
This works on the current region."
(interactive "r")
(save-restriction
(save-restriction
(narrow-to-region start end)
(goto-char (point-min))
(while (search-forward "&" nil t) (replace-match "&amp;" nil t))

View file

@ -4,7 +4,7 @@
# key: x-dired
# --
;; idiom for processing a list of files in dired's marked files
;; suppose myProcessFile is your function that takes a file path
;; and do some processing on the file

View file

@ -7,7 +7,7 @@
"Replace “<” to “&lt;” and other chars in HTML.
This works on the current region."
(interactive "r")
(save-restriction
(save-restriction
(narrow-to-region start end)
(goto-char (point-min))
(while (search-forward "&" nil t) (replace-match "&amp;" nil t))

View file

@ -1,6 +1,6 @@
# -*- mode: snippet -*-
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
# name:<script type="text/javascript">...</script>
# name:<script type="text/javascript">...</script>
# --
<script type="text/javascript">
$0

View file

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
# name:<script type="text/javascript" src="..."></script>
# name:<script type="text/javascript" src="..."></script>
# --
<script type="text/javascript" src="$1"></script>

View file

@ -5,4 +5,4 @@
\IF {$${1:cond}$}
$0
\ELSE
\ENDIF
\ENDIF

View file

@ -10,6 +10,6 @@
]{4in}{4in}{${2:video file}}
\movieref[rate=3]{test}{Play Fast}
\movieref[rate=1]{test}{Play Normal Speed}
\movieref[rate=1]{test}{Play Normal Speed}
\movieref[rate=0.2]{test}{Play Slow}
\movieref[resume]{test}{Pause/Resume}

View file

@ -3,6 +3,6 @@
# key: sf
# --
\subfigure[${1:caption}]{
\label{fig:${2:label}}
\label{fig:${2:label}}
\includegraphics[width=.${3:3}\textwidth]{${4:path}}}
$0

View file

@ -5,7 +5,7 @@
\begin{figure}[ht]
\centering
\subfigure[$1]
{\label{fig:${2:label}}
{\label{fig:${2:label}}
\includegraphics[width=.${3:5}\textwidth]{${4:path}}}
\caption{${5:caption}}

View file

@ -3,7 +3,7 @@
# key: do
# --
(do ((${1:var1} ${2:init-form} ${3:step-form})
(${4:var2} ${5:init-form} ${6:step-form}))
(${4:var2} ${5:init-form} ${6:step-form}))
(${7:condition} ${8:return-value})
(${9:body}))
$0

View file

@ -2,7 +2,7 @@
# name: dot
# key: dot_
# --
#+begin_src dot :file ${1:file} :cmdline -T${2:pdf} :exports none :results silent
#+begin_src dot :file ${1:file} :cmdline -t${2:pdf} :exports none :results silent
$0
#+end_src
[[file:${3:path}]]

View file

@ -1,7 +1,7 @@
# -*- mode: snippet -*-
# name: uml
# key: uml
# contributor : Robert O'connor
# contributor : Robert O'Connor
# --
#+begin_uml
$1

View file

@ -1,6 +1,6 @@
# -*- mode: snippet -*-
#Author : Jonas Bonèr <jonas@jonasboner.com>
# name: case pattern =>
# name: case pattern =>
# key: case
# --
case ${1:_} => $0

View file

@ -6,6 +6,6 @@
try {
$0
} catch {
case e: ${1:Throwable} =>
case e: ${1:Throwable} =>
${2:// TODO: handle exception}
}

View file

@ -2,10 +2,10 @@
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
# name: create table ...
# --
CREATE TABLE [${1:dbo}].[${2:TableName}]
CREATE TABLE [${1:dbo}].[${2:TableName}]
(
${3:Id} ${4:INT IDENTITY(1,1)} ${5:NOT NULL}
$0
CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3])
CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3])
)
GO

View file

@ -2,7 +2,7 @@
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
# name: create procedure ...
# --
CREATE PROCEDURE [${1:dbo}].[${2:Name}]
CREATE PROCEDURE [${1:dbo}].[${2:Name}]
(
$3 $4 = ${5:NULL} ${6:OUTPUT}
)