diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-12-11 22:56:56 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-12-11 22:56:56 +0100 |
commit | 04f868b94aad9ef31d3cd1adc526d720808f7837 (patch) | |
tree | 07f675e7b8362cbad5a059063b3ad8e628364fda /ftplugin | |
parent | 4071c094c69ba8ef716f8048cac8415fc7d96e26 (diff) | |
download | vim-polyglot-04f868b94aad9ef31d3cd1adc526d720808f7837.tar.gz vim-polyglot-04f868b94aad9ef31d3cd1adc526d720808f7837.zip |
Update toml and php
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/toml.vim | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ftplugin/toml.vim b/ftplugin/toml.vim new file mode 100644 index 00000000..141157dd --- /dev/null +++ b/ftplugin/toml.vim @@ -0,0 +1,35 @@ +" File: ftplugin/toml.vim +" Author: Kevin Ballard <kevin@sb.org> +" Description: FileType Plugin for Toml +" Last Change: Dec 09, 2014 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +let s:save_cpo = &cpo +set cpo&vim + +" Add NERDCommenter delimiters + +let s:delims = { 'left': '#' } +if exists('g:NERDDelimiterMap') + if !has_key(g:NERDDelimiterMap, 'toml') + let g:NERDDelimiterMap.toml = s:delims + endif +elseif exists('g:NERDCustomDelimiters') + if !has_key(g:NERDCustomDelimiters, 'toml') + let g:NERDCustomDelimiters.toml = s:delims + endif +else + let g:NERDCustomDelimiters = { 'toml': s:delims } +endif +unlet s:delims + +let b:undo_ftplugin = "" + +let &cpo = s:save_cpo +unlet s:save_cpo + +" vim: set et sw=4 ts=4: |