summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/puppet.vim
blob: e530bff4be6bf82ea5ce1539b0303c7fa05db2a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'after/ftplugin/puppet.vim')
  finish
endif

if !exists('g:puppet_align_hashes')
    let g:puppet_align_hashes = 1
endif

if g:puppet_align_hashes
    inoremap <buffer> <silent> => =><Esc>:call puppet#align#AlignHashrockets()<CR>$a
endif