Skip to content

Commit 74b7519

Browse files
authored
Merge pull request #7 from daveyb/mustache
add mustache plugin for :set filetype=mustache
2 parents a822060 + 6f5b9d2 commit 74b7519

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

roles/vim/files/vimrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ nnoremap K :grep! "\b<C-R><C-W>\b"<CR>:cw<CR>
4444
" bind \ (backward slash) to grep shortcut
4545
command -nargs=+ -complete=file -bar Ag silent! grep! <args>|cwindow|redraw!
4646
nnoremap \ :Ag<SPACE>
47+
48+
" vim-mustache-handlebars config
49+
let g:mustache_abbreviations = 1

roles/vim/tasks/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@
4242
repo: https://github.com/vim-airline/vim-airline
4343
dest: ~/.vim/bundle/vim-airline
4444

45-
45+
- name: clone vim-mustache-handlebars to ~/.vim/bundle
46+
git:
47+
repo: https://github.com/mustache/vim-mustache-handlebars.git
48+
dest: ~/.vim/bundle/vim-mustache-handlebars

0 commit comments

Comments
 (0)