diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 09:15:44 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 09:15:44 +0100 |
commit | ed677c34d55a0e025b7008f29419498a3989cde2 (patch) | |
tree | 62efef78ed05b2b4e61efb21e40a6b337359eb8e /ftplugin/toml.vim | |
parent | c161994e9607399a7b365ab274592bfc4f100306 (diff) | |
download | vim-polyglot-ed677c34d55a0e025b7008f29419498a3989cde2.tar.gz vim-polyglot-ed677c34d55a0e025b7008f29419498a3989cde2.zip |
Update
Diffstat (limited to '')
-rw-r--r-- | ftplugin/toml.vim | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/ftplugin/toml.vim b/ftplugin/toml.vim index baa19ba1..b440a714 100644 --- a/ftplugin/toml.vim +++ b/ftplugin/toml.vim @@ -3,7 +3,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'toml') == -1 " File: ftplugin/toml.vim " Author: Kevin Ballard <kevin@sb.org> " Description: FileType Plugin for Toml -" Last Change: Dec 09, 2014 +" Last Change: Feb 12, 2019 if exists('b:did_ftplugin') finish @@ -12,24 +12,10 @@ let b:did_ftplugin = 1 let s:save_cpo = &cpo set cpo&vim +let b:undo_ftplugin = 'setlocal commentstring< comments<' setlocal commentstring=#\ %s - -" 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 +setlocal comments=:# let &cpo = s:save_cpo unlet s:save_cpo |