annotate runtime/ftplugin/dtrace.vim @ 33725:5af7b93fc4f5 v9.0.2092

patch 9.0.2092: tests: failure in test_arabic Commit: https://github.com/vim/vim/commit/2a94e9879283c55b162cf4e6d9ac7e0b0c35bc97 Author: Christian Brabandt <cb@256bit.org> Date: Sun Nov 5 19:17:10 2023 +0100 patch 9.0.2092: tests: failure in test_arabic Problem: tests: failure in test_arabic Solution: adjust the test for the changed arabic keymap Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 05 Nov 2023 19:30:03 +0100
parents 73fe8baea242
children 7c7432a53a6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
1 " Language: D script as described in "Solaris Dynamic Tracing Guide",
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
2 " http://docs.sun.com/app/docs/doc/817-6223
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
3 " Last Change: 2008/03/20
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
4 " Version: 1.2
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
5 " Maintainer: Nicolas Weber <nicolasweber@gmx.de>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
6
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
7 " Only do this when not done yet for this buffer
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
8 if exists("b:did_ftplugin")
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
9 finish
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
10 endif
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
11
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
12 " Don't load another plugin for this buffer
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
13 let b:did_ftplugin = 1
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
14
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
15 " Using line continuation here.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
16 let s:cpo_save = &cpo
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
17 set cpo-=C
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
18
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
19 let b:undo_ftplugin = "setl fo< com< cms< isk<"
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
20
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
21 " Set 'formatoptions' to break comment lines but not other lines,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
22 " and insert the comment leader when hitting <CR> or using "o".
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
23 setlocal fo-=t fo+=croql
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
24
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
25 " Set 'comments' to format dashed lists in comments.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
26 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
27
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
28 " dtrace uses /* */ comments. Set this explicitly, just in case the user
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
29 " changed this (/*%s*/ is the default)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
30 setlocal commentstring=/*%s*/
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
31
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
32 setlocal iskeyword+=@,$
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
33
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
34 " When the matchit plugin is loaded, this makes the % command skip parens and
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
35 " braces in comments.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
36 let b:match_words = &matchpairs
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
37 let b:match_skip = 's:comment\|string\|character'
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
38
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
39 let &cpo = s:cpo_save
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
40 unlet s:cpo_save