Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 751 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 751 Bytes

aws-cfn-snippet.vim

Make yaml and json snippet file for AWS CloudFormation.

you need Shougo/neosnippet Plugin. check your snippet directory in vimrc.

let g:neosnippet#snippets_directory='~/.vim/snippets/'

Add snip files(yaml.snip, json.snip) in your snippet file or directory.

cat yaml.snip >> ~/.vim/snippet/yaml.snip
cat json.snip >> ~/.vim/snippet/json.snip

Sample

Sample1 Sample2

Trouble shooting

Q. display ^### ${filetype^^}: bad substatution
A. This regexp require bash 4.x later. So update your bash version.

Q. display sed: RE error: illegal byte sequence
A. execute export LC_ALL=C