diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-25 00:07:37 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-25 00:07:37 +0200 |
commit | d6479bbf0baeeedaa183c1f3e11679246ca20138 (patch) | |
tree | 0f9db8bc0d5e6e44db0cb78b3a879eb1a7eac08c /ftplugin | |
parent | d53d2189b92ab8150753201e2e2f8cba14b8edc9 (diff) | |
download | vim-polyglot-d6479bbf0baeeedaa183c1f3e11679246ca20138.tar.gz vim-polyglot-d6479bbf0baeeedaa183c1f3e11679246ca20138.zip |
Change gitignore provider
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/gitignore.vim | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ftplugin/gitignore.vim b/ftplugin/gitignore.vim new file mode 100644 index 00000000..d8cbadc5 --- /dev/null +++ b/ftplugin/gitignore.vim @@ -0,0 +1,20 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gitignore') == -1 + +scriptencoding utf-8 + +" Copyright (c) 2017-2020 Filip SzymaĆski. All rights reserved. +" Use of this source code is governed by an MIT license that can be +" found in the LICENSE file. + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal commentstring=#\ %s + +let b:undo_ftplugin = 'setlocal commentstring<' + +" vim: ts=2 et sw=2 + +endif |