aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/toml.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2021-10-16 19:24:19 +0200
committerGitHub <noreply@github.com>2021-10-16 19:24:19 +0200
commitfc1cdb88218c7db5ce2641c9eaf7a4a8a3dba32c (patch)
treee8e7bb3f482fd5015920466d639f6313f2c18e85 /runtime/ftplugin/toml.vim
parent1ced6cf08c1bf819df76e3830ae12f76e987f151 (diff)
parentfbc5b7b090221eb5344dd0d09b13f24fdedf2630 (diff)
downloadrneovim-fc1cdb88218c7db5ce2641c9eaf7a4a8a3dba32c.tar.gz
rneovim-fc1cdb88218c7db5ce2641c9eaf7a4a8a3dba32c.tar.bz2
rneovim-fc1cdb88218c7db5ce2641c9eaf7a4a8a3dba32c.zip
Merge pull request #16042 from clason/vim-2286304cdbba
vim-patch:2286304cdbba chore(test): adapt healthcheck test to new css syntax
Diffstat (limited to 'runtime/ftplugin/toml.vim')
-rw-r--r--runtime/ftplugin/toml.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/runtime/ftplugin/toml.vim b/runtime/ftplugin/toml.vim
new file mode 100644
index 0000000000..1ef09a16e3
--- /dev/null
+++ b/runtime/ftplugin/toml.vim
@@ -0,0 +1,23 @@
+" Vim filetype plugin
+" Language: TOML
+" Homepage: https://github.com/cespare/vim-toml
+" Maintainer: Aman Verma
+" Author: Kevin Ballard <kevin@sb.org>
+" Last Change: Sep 21, 2021
+
+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: et sw=2 sts=2