mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
Disable todotxt grammar for files named "todo.txt"
The file name is too common and can unintentionally conflict. Users should manually opt in. Fixes #10113
This commit is contained in:
parent
88f2931153
commit
5fece0054d
1 changed files with 2 additions and 1 deletions
|
@ -3135,7 +3135,8 @@ source = { git = "https://github.com/kylegoetz/tree-sitter-unison", rev = "1f505
|
|||
[[language]]
|
||||
name = "todotxt"
|
||||
scope = "text.todotxt"
|
||||
file-types = [{ glob = "todo.txt" }, { glob = "*.todo.txt" }, "todotxt"]
|
||||
# glob = "todo.txt" is too common and can conflict regular files, define in user config if necessary
|
||||
file-types = [{ glob = "*.todo.txt" }, "todotxt"]
|
||||
formatter = { command = "sort" }
|
||||
auto-format = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue