2019-03-04 03:28:35 -05:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'toml') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2014-12-11 16:56:56 -05:00
|
|
|
" File: ftplugin/toml.vim
|
|
|
|
" Author: Kevin Ballard <kevin@sb.org>
|
|
|
|
" Description: FileType Plugin for Toml
|
2019-03-04 03:15:44 -05:00
|
|
|
" Last Change: Feb 12, 2019
|
2014-12-11 16:56:56 -05:00
|
|
|
|
|
|
|
if exists('b:did_ftplugin')
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
|
|
|
|
let s:save_cpo = &cpo
|
|
|
|
set cpo&vim
|
2019-03-04 03:15:44 -05:00
|
|
|
let b:undo_ftplugin = 'setlocal commentstring< comments<'
|
2014-12-11 16:56:56 -05:00
|
|
|
|
2015-02-11 14:27:11 -05:00
|
|
|
setlocal commentstring=#\ %s
|
2019-03-04 03:15:44 -05:00
|
|
|
setlocal comments=:#
|
2014-12-11 16:56:56 -05:00
|
|
|
|
|
|
|
let &cpo = s:save_cpo
|
|
|
|
unlet s:save_cpo
|
|
|
|
|
|
|
|
" vim: set et sw=4 ts=4:
|