annotate runtime/ftplugin/8th.vim @ 30572:d77e208d611d v9.0.0621

patch 9.0.0621: filetype test leaves file behind Commit: https://github.com/vim/vim/commit/fc06cda8379031890ee8852cdca61eb8af8e1ba2 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Thu Sep 29 13:07:18 2022 +0100 patch 9.0.0621: filetype test leaves file behind Problem: Filetype test leaves file behind. Solution: Add deferred delete flag to writefile(). (Dominique Pell?, closes #11249)
author Bram Moolenaar <Bram@vim.org>
date Thu, 29 Sep 2022 14:15:04 +0200
parents 65de67669df3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15878
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim ftplugin file
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: 8th
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Version: any
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 15878
diff changeset
4 " Last Change: 2021 Sep 20
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 15878
diff changeset
5 " Last Change: 2021/09/20
15878
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " Maintainer: Ron Aaron <ron@aaron-tech.com>
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 15878
diff changeset
7 " URL: https://8th-dev.com/
15878
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 " Filetypes: *.8th
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 " NOTE: 8th allows any non-whitespace in a name, so you need to do:
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 " setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " This goes with the syntax/8th.vim file.
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 " Only do this when not done yet for this buffer
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 if exists("b:did_8thplugin")
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 finish
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 endif
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 15878
diff changeset
18 " Don't load another 8th plugin for this buffer
15878
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 let b:did_8thplugin = 1
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 setlocal ts=2 sts=2 sw=2 et
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 15878
diff changeset
22 setlocal com=s1:/*,mb:*,ex:*/,b:--,be:\\
15878
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 setlocal fo=tcrqol
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 setlocal matchpairs+=\::;
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
314694a2e74a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 setlocal suffixesadd=.8th
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 15878
diff changeset
27 let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<"