Skip to content

lunarxlark/aws-cfn-snippet.vim

Repository files navigation

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

About

make vim snippets of AWS CloudFormation from official cfn's docs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages