Merge pull request #341 from equwal/delete-trailing-whitespace
Delete obviously erroneous (and often annoying) trailing whitespace.
This commit is contained in:
commit
2cc5f35cd4
23 changed files with 24 additions and 24 deletions
|
@ -17,5 +17,5 @@
|
|||
publisher = {${publisher}}}${,
|
||||
note = {${note}}}
|
||||
}
|
||||
|
||||
|
||||
$0
|
|
@ -1,5 +1,5 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: using namespace ...
|
||||
# name: using namespace ...
|
||||
# key: using
|
||||
# --
|
||||
using namespace ${std};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -15,7 +15,7 @@ ${5:public} class ${1:Name}
|
|||
|
||||
/// <summary>
|
||||
/// ${4:Default Destructor}
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
public ~$1()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: enum … { … }
|
||||
# name: enum … { … }
|
||||
# key: enum
|
||||
# --
|
||||
enum ${1:name}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: try … finally …
|
||||
# name: try … finally …
|
||||
# key: tryf
|
||||
# --
|
||||
try
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"Replace “<” to “<” 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 "&" nil t))
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"Replace “<” to “<” 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 "&" nil t))
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
|
@ -5,4 +5,4 @@
|
|||
\IF {$${1:cond}$}
|
||||
$0
|
||||
\ELSE
|
||||
\ENDIF
|
||||
\ENDIF
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
|
@ -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}}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}]]
|
|
@ -1,7 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: uml
|
||||
# key: uml
|
||||
# contributor : Robert O'connor
|
||||
# contributor : Robert O'Connor
|
||||
# --
|
||||
#+begin_uml
|
||||
$1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- mode: snippet -*-
|
||||
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
||||
# name: case pattern =>
|
||||
# name: case pattern =>
|
||||
# key: case
|
||||
# --
|
||||
case ${1:_} => $0
|
|
@ -6,6 +6,6 @@
|
|||
try {
|
||||
$0
|
||||
} catch {
|
||||
case e: ${1:Throwable} =>
|
||||
case e: ${1:Throwable} =>
|
||||
${2:// TODO: handle exception}
|
||||
}
|
|
@ -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
|
|
@ -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}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue