forked from asciidoctor/sublimetext-asciidoc
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Asciidoctor.sublime-settings
57 lines (44 loc) · 2.06 KB
/
Asciidoctor.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
// We are refraining from forcing the color_scheme here because, for one
// thing, there is a bug in ST4. When ST4 loads, it tries to find this
// scheme in the "Color Scheme - Default" package (which it is not) and
// then hangs with an OS Error (instead of just skipping that location and
// searching on).
// "color_scheme": "AsciiDoc Dark.sublime-color-scheme",
"indent_lists": true,
// List of built-in attributes to display in completions.
"built_in_attributes": [
// Data attributes
"asciidoctor-version", "backend", "docdate", "docdatetime",
"docdir", "docfile", "doctime", "doctitle", "doctype", "localdate",
"localdatetime", "localtime",
// Header attributes
"author", "authorinitials", "doctitle", "email", "firstname", "lastname",
"middlename", "no-header-footer", "noheader", "notitle", "revdate",
"revnumber", "revremark", "showtitle",
// Section attributes
"sectid", "idprefix", "sectanchors", "sectlinks", "sectnums",
// Image attributes
"imagesdir",
// Table of contents attributes (HTML only)
"toc", "toclevels", "toc-placement", "toc-position", "toc-title"
],
// Additional situations to trigger auto complete.
"auto_complete_triggers": [
// This has the effect only when "auto_match_enabled" is false, otherwise
// it's overrided by the auto-pair keymap. Thus there's another keymap that
// triggers auto completion when both "auto_match_enabled" and
// "auto_complete" is enabled.
{ "selector": "text.asciidoc - source - markup.raw", "characters": "{" }
],
// Disable automatic indentation.
// It's not much helpful in AsciiDoc; interferes with attribute completions.
"auto_indent": false,
// Set to true to ensure the last line of the file ends in a newline
// character when saving.
"ensure_newline_at_eof_on_save": true,
// Set to true to removing trailing white space on save.
"trim_trailing_white_space_on_save": true,
// Characters that are considered to separate words
"word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`?…\u00A0„“”"
}