add helix markdown language config
This commit is contained in:
parent
f3d2b00138
commit
373b20941b
1 changed files with 13 additions and 0 deletions
13
helix/languages.toml
Normal file
13
helix/languages.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[[language]]
|
||||
# Copied from default language config
|
||||
name = "markdown"
|
||||
scope = "source.md"
|
||||
injection-regex = "md|markdown"
|
||||
file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }]
|
||||
roots = [".marksman.toml"]
|
||||
language-servers = [ "marksman", "markdown-oxide" ]
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
block-comment-tokens = { start = "<!--", end = "-->" }
|
||||
# Formatting with Prettier
|
||||
auto-format = true
|
||||
formatter = { command = "prettier" , args = ["--parser=markdown", "--prose-wrap=always"] }
|
||||
Loading…
Add table
Reference in a new issue