annotate runtime/ftplugin/poke.vim @ 32115:c45ce1e9a0db

Added tag v9.0.1388 for changeset 7ef5674e346fead4c0e898f58c4ccae4b467e769
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Mar 2023 21:45:03 +0100
parents 788e10cec9bd
children 8ae680be2a51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24103
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: GNU Poke
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2021 March 11
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists("b:did_ftplugin")
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 let s:cpo_save = &cpo
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 set cpo&vim
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 setlocal commentstring=//\ %s
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 setlocal formatoptions-=t formatoptions+=croql
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 setlocal include=load
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 setlocal suffixesadd=.pk
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 let b:browsefilter = "Poke Files (*.pk)\t*.pk\n" .
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 \ "All Files (*.*)\t*.*\n"
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 endif
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 let b:undo_ftplugin = "setl fo< com< cms< inc< sua<" .
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 \ " | unlet! b:browsefilter"
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 let &cpo = s:cpo_save
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 unlet s:cpo_save
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31
788e10cec9bd Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 " vim: nowrap sw=2 sts=2 ts=8