Updated emacs-d and added Remtrail command to vimrc
This commit is contained in:
5
.emacs.d/snippets/purescript-mode/ps.eff
Normal file
5
.emacs.d/snippets/purescript-mode/ps.eff
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: ps.eff
|
||||
# key: eff
|
||||
# --
|
||||
Eff (${2:${1:$(lower-camel-case yas-text)}} :: ${1:DOM} | e)
|
8
.emacs.d/snippets/purescript-mode/ps.foreign
Normal file
8
.emacs.d/snippets/purescript-mode/ps.foreign
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: ps.foreign
|
||||
# key: ffi
|
||||
# --
|
||||
foreign import ${1:unsafePerformIO} """
|
||||
function $1($3) {
|
||||
$0
|
||||
}""" :: $2
|
6
.emacs.d/snippets/purescript-mode/ps.module
Normal file
6
.emacs.d/snippets/purescript-mode/ps.module
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: ps.module
|
||||
# key: mod
|
||||
# --
|
||||
module ${1:`(purescript-module-name-from-current-buffer-file)`} where
|
||||
$0
|
Reference in New Issue
Block a user