diff options
| author | Maciej Sobkowski <maciej.sobkowski@nokia.com> | 2015-07-02 10:41:08 +0200 |
|---|---|---|
| committer | Maciej Sobkowski <maciej.sobkowski@nokia.com> | 2015-07-02 10:41:08 +0200 |
| commit | 09c373075e20ff002ec08d09a939117b86f35900 (patch) | |
| tree | 73b9a105cfce95593808989b80471511cae9efa7 /vim/.vim/ftplugin/pentadactyl.vim | |
Added dotfiles for Vim
My vimrc along with other files used in my configuration
Diffstat (limited to 'vim/.vim/ftplugin/pentadactyl.vim')
| -rw-r--r-- | vim/.vim/ftplugin/pentadactyl.vim | 27 |
1 files changed, 27 insertions, 0 deletions
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 <dougkearns@gmail.com> +" 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 |
