panache 2.6.0

An LSP, formatter, and linter for Pandoc markdown, Quarto, and RMarkdown
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Let Git auto-detect text files
* text=auto

# All test case input/expected files should use LF by default (for consistent AST across platforms)
tests/cases/*/*.md eol=lf
tests/cases/*/*.qmd eol=lf
tests/cases/*/*.Rmd eol=lf

# Preserve CRLF in test cases that specifically test CRLF handling (must have CRLF line endings)
tests/cases/crlf_*/* -text
tests/cases/line_ending_crlf/* -text
tests/cases/line_ending_lf/* -text

# AST files should always use LF endings (they contain literal string representations)
tests/cases/*/cst.txt eol=lf

# Other test cases can use LF (the default for most projects)
# Individual test cases can override if needed