-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathdefault.marksman.toml
52 lines (48 loc) · 2.16 KB
/
default.marksman.toml
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
# This file lists all configuration options with their default values.
# You do not need to duplicate all the values in your own user or project config.
# Only override what is needed.
[core]
markdown.file_extensions = ["md", "markdown"]
# Enable GitLab Flavored Markdown heading ID disambiguation method described
# in https://docs.gitlab.com/ee/user/markdown.html#heading-ids-and-links.
# This enables multiple headings with equal IDs to be deterministically
# referenced by links and impacts ID generation in "Table of Contents"
# code action.
markdown.glfm_heading_ids.enable = true
# Configures text sync protocol between the editor (LSP client)
# and Marksman (LSP server).
# Can be either 'full' or `incremental`:
# * full: the whole copy of a document is sent by the editor
# on every update,
# * incremental: only the changed parts are sent by
# the editor. This will result in less trafic between
# the editor and Marksman, but the overall performance
# impact is marginal.
# Defaults to `full` because the editors have bugs in incremental
# sync which result in slightly correpted state and are really hard
# to diagnose.
text_sync = "full"
# When set to true, level 1 headings will be treated as document titles
# (this includes an assumption of having a single title in the document).
# Setting this to false automatically changes the default wiki link
# completion style to a file-based one.
title_from_heading = true
# Use incremental resolution of project-wide references.
# This is much more efficient but is currently experimental
incremental_references = false
# For debugging only! Enables extra validation checks around
# incremental state updates. SIGNIFICANTLY IMPACTS PERFORMANCE
paranoid = false
[code_action]
# Enable/disable "Table of Contents" code action
toc.enable = true
# Enable/disable "Create missing linked file" code action
create_missing_file.enable = true
[completion]
# The maximum number of candidates returned for a completion
candidates = 50
# The style of wiki links completion.
# Other values include:
# * "file-stem" to complete using file name without an extension,
# * "file-path-stem" same as above but using file path.
wiki.style = "title-slug"