From 69d47128244a06ee28e4b43191ef9216b04bce13 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 17 Jan 2020 19:21:59 +0300 Subject: syntax highlighting for toml docs --- .vim/after/ftplugin/toml.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .vim/after/ftplugin/toml.vim (limited to '.vim/after/ftplugin') diff --git a/.vim/after/ftplugin/toml.vim b/.vim/after/ftplugin/toml.vim new file mode 100644 index 0000000..9075e88 --- /dev/null +++ b/.vim/after/ftplugin/toml.vim @@ -0,0 +1,21 @@ +" File: ftplugin/toml.vim +" Author: Kevin Ballard +" Description: FileType Plugin for Toml +" Last Change: Feb 12, 2019 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +let s:save_cpo = &cpo +set cpo&vim +let b:undo_ftplugin = 'setlocal commentstring< comments<' + +setlocal commentstring=#\ %s +setlocal comments=:# + +let &cpo = s:save_cpo +unlet s:save_cpo + +" vim: set et sw=4 ts=4: -- cgit v1.2.3