annotate runtime/syntax/bzr.vim @ 35806:3835b742025e v9.1.0623

patch 9.1.0623: Mingw: errors when trying to delete non-existing files Commit: https://github.com/vim/vim/commit/325420ebe459e7f67b959ce189269b0e8ca9dc12 Author: Ken Takata <kentkt@csc.jp> Date: Fri Jul 26 19:02:11 2024 +0200 patch 9.1.0623: Mingw: errors when trying to delete non-existing files Problem: Mingw: warnings when trying to delete non-existing files Solution: Use "rm -f" instead of "rm" to suppress errors for non-existing files (Ken Takata) closes: #15350 Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Jul 2024 19:15:03 +0200
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
1 " Vim syntax file
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
2 " Language: Bazaar (bzr) commit file
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
3 " Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
4 " URL: https://github.com/hdima/vim-scripts/blob/master/syntax/bzr.vim
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
5 " Last Change: 2012-02-11
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
6 " Filenames: bzr_log.*
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
7 " Version: 1.2.2
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
8 "
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
9 " Thanks:
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
10 "
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
11 " Gioele Barabucci
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
12 " for idea of diff highlighting
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
13
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3356
diff changeset
14 " quit when a syntax file was already loaded.
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3356
diff changeset
15 if exists("b:current_syntax")
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
16 finish
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
17 endif
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
18
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
19 if exists("bzr_highlight_diff")
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
20 syn include @Diff syntax/diff.vim
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
21 endif
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
22
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
23 syn match bzrRemoved "^removed:$" contained
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
24 syn match bzrAdded "^added:$" contained
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
25 syn match bzrRenamed "^renamed:$" contained
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
26 syn match bzrModified "^modified:$" contained
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
27 syn match bzrUnchanged "^unchanged:$" contained
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
28 syn match bzrUnknown "^unknown:$" contained
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
29 syn cluster Statuses contains=bzrRemoved,bzrAdded,bzrRenamed,bzrModified,bzrUnchanged,bzrUnknown
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
30 if exists("bzr_highlight_diff")
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
31 syn cluster Statuses add=@Diff
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
32 endif
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
33 syn region bzrRegion start="^-\{14} This line and the following will be ignored -\{14}$" end="\%$" contains=@NoSpell,@Statuses
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
34
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
35 " Synchronization.
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
36 syn sync clear
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
37 syn sync match bzrSync grouphere bzrRegion "^-\{14} This line and the following will be ignored -\{14}$"me=s-1
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
38
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
39 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3356
diff changeset
40 " Only when an item doesn't have highlighting yet.
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
41
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
42 hi def link bzrRemoved Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
43 hi def link bzrAdded Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
44 hi def link bzrModified Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
45 hi def link bzrRenamed Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
46 hi def link bzrUnchanged Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
47 hi def link bzrUnknown Special
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
48
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
49
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
50 let b:current_syntax = "bzr"