Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lunarxlark/aws-cfn-snippet.vim

make vim snippets of AWS CloudFormation from official cfn's docs
https://github.com/lunarxlark/aws-cfn-snippet.vim

aws-cloudformation vim-snippets

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# aws-cfn-snippet.vim

## Make yaml and json snippet file for AWS CloudFormation.

you need [Shougo/neosnippet](https://github.com/Shougo/neosnippet.vim) Plugin.
check your snippet directory in vimrc.

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

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

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

## Sample

![Sample1](./images/sample1.png)
![Sample2](./images/sample2.png)

## 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`