diff options
| author | Mike Buland <mike@xagasoft.com> | 2026-08-19 10:06:25 -0700 |
|---|---|---|
| committer | Mike Buland <mike@xagasoft.com> | 2026-08-19 10:06:25 -0700 |
| commit | 5602585e7afe431f25e68f30ac54761db2a710e5 (patch) | |
| tree | 94461a3d5eba1ce0a6402e2c07cdfc9facf21d76 /extra/vim/ftplugin/deepcrow.vim | |
| parent | ba96bd8a4a1583edd3677dd613c89504d9ce88cf (diff) | |
| download | deepcrow-5602585e7afe431f25e68f30ac54761db2a710e5.tar.gz deepcrow-5602585e7afe431f25e68f30ac54761db2a710e5.tar.bz2 deepcrow-5602585e7afe431f25e68f30ac54761db2a710e5.tar.xz deepcrow-5602585e7afe431f25e68f30ac54761db2a710e5.zip | |
Renamed to DeepCrow
Diffstat (limited to 'extra/vim/ftplugin/deepcrow.vim')
| -rw-r--r-- | extra/vim/ftplugin/deepcrow.vim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/vim/ftplugin/deepcrow.vim b/extra/vim/ftplugin/deepcrow.vim new file mode 100644 index 0000000..b8255fb --- /dev/null +++ b/extra/vim/ftplugin/deepcrow.vim | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | " Vim filetype plugin file | ||
| 2 | " Language: DeepCrow | ||
| 3 | |||
| 4 | " Only do this when not done yet for this buffer | ||
| 5 | if exists("b:did_ftplugin") | ||
| 6 | finish | ||
| 7 | endif | ||
| 8 | |||
| 9 | " Don't load another plugin for this buffer | ||
| 10 | let b:did_ftplugin = 1 | ||
| 11 | |||
| 12 | " Set format options -- allow comment formatting with gq, but disable | ||
| 13 | " other processing | ||
| 14 | setlocal fo-=tcrowan2 fo+=q | ||
| 15 | |||
| 16 | " Set 'comments' to be the same as C/C++ | ||
| 17 | " setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// | ||
| 18 | |||
| 19 | " Win32 can filter files in the browse dialog | ||
| 20 | if has("gui_win32") && !exists("b:browsefilter") | ||
| 21 | let b:browsefilter = "DeepCrow files (*.deep)\t*.deep\n" . | ||
| 22 | \ "All Files (*.*)\t*.*\n" | ||
| 23 | endif | ||
| 24 | |||
