diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-09-09 12:42:18 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-09-09 12:42:18 +0200 |
commit | b147123070e5d7418fe67e315a53599cfde38d58 (patch) | |
tree | b4ed260a622235d320310094d329fc6604a47345 /ftplugin/toml.vim | |
parent | 7f98e949d4922ba2109304bd4cabe9578a8062fb (diff) | |
download | vim-polyglot-b147123070e5d7418fe67e315a53599cfde38d58.tar.gz vim-polyglot-b147123070e5d7418fe67e315a53599cfde38d58.zip |
Ensure some files are compied from each package
Diffstat (limited to 'ftplugin/toml.vim')
-rw-r--r-- | ftplugin/toml.vim | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ftplugin/toml.vim b/ftplugin/toml.vim new file mode 100644 index 00000000..8d45ea77 --- /dev/null +++ b/ftplugin/toml.vim @@ -0,0 +1,25 @@ +if polyglot#init#is_disabled(expand('<sfile>:p'), 'toml', 'ftplugin/toml.vim') + finish +endif + +" File: ftplugin/toml.vim +" Author: Kevin Ballard <kevin@sb.org> +" 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: |