From 09c373075e20ff002ec08d09a939117b86f35900 Mon Sep 17 00:00:00 2001 From: Maciej Sobkowski Date: Thu, 2 Jul 2015 10:41:08 +0200 Subject: Added dotfiles for Vim My vimrc along with other files used in my configuration --- vim/.vim/ftplugin/pentadactyl.vim | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vim/.vim/ftplugin/pentadactyl.vim (limited to 'vim/.vim/ftplugin/pentadactyl.vim') diff --git a/vim/.vim/ftplugin/pentadactyl.vim b/vim/.vim/ftplugin/pentadactyl.vim new file mode 100644 index 0000000..f0ace17 --- /dev/null +++ b/vim/.vim/ftplugin/pentadactyl.vim @@ -0,0 +1,27 @@ +" Vim filetype plugin file +" Language: Pentadactyl configuration file +" Maintainer: Doug Kearns +" Version: 1.1 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&vim + +let b:undo_ftplugin = "setl com< cms< fo< ofu< | unlet! b:browsefilter" + +setlocal comments=:\" +setlocal commentstring=\"%s +setlocal formatoptions-=t formatoptions+=croql +setlocal omnifunc=syntaxcomplete#Complete + +if has("gui_win32") && !exists("b:browsefilter") + let b:browsefilter = "Pentadactyl Config Files (*.penta)\t*.penta\n" . + \ "All Files (*.*)\t*.*\n" +endif + +let &cpo = s:cpo_save +unlet s:cpo_save -- cgit v1.2.3-70-g09d2