Add snippets
This commit is contained in:
parent
bea07604f2
commit
567e133cf3
2 changed files with 17 additions and 0 deletions
5
emacs/.emacs.d/snippets/css-mode/box-shadow
Normal file
5
emacs/.emacs.d/snippets/css-mode/box-shadow
Normal file
|
@ -0,0 +1,5 @@
|
|||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: box-shadow
|
||||
# key: boxshadow
|
||||
# --
|
||||
box-shadow: ${1:offset-x} ${2:offset-y}${3: [blur-radius]}${4: [spread-radius]}${5: [color]};
|
12
emacs/.emacs.d/snippets/haml-mode/faq
Normal file
12
emacs/.emacs.d/snippets/haml-mode/faq
Normal file
|
@ -0,0 +1,12 @@
|
|||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: FAQ Question & Answer
|
||||
# key: faq
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
%dt
|
||||
= link_to '#' do
|
||||
.expand_icon
|
||||
$1
|
||||
%dd
|
||||
%p
|
||||
$0
|
Loading…
Reference in a new issue