helix-mirror/book/src
Michael Davis 17daf6ac0a
Change syntax for suffix file-types configurations (#4414)
The change in d801a6693c to search for
suffixes in `file-types` is too permissive: files like the tutor or
`*.txt` files are now mistakenly interpreted as R or perl,
respectively.

This change changes the syntax for specifying a file-types entry that
matches by suffix:

```toml
file-types = [{ suffix = ".git/config" }]
```

And changes the file-type detection to first search for any non-suffix
patterns and then search for suffixes only with the file-types entries
marked explicitly as suffixes.
2022-10-22 09:34:15 +09:00
..
generated Add textobjects.scm for zig (#4409) 2022-10-21 17:32:29 -05:00
guides Rename extend indent captures. 2022-10-11 16:48:04 +09:00
commands.md Fix typos (#3858) 2022-09-17 06:34:48 -05:00
configuration.md Autosave all when the terminal loses focus (#3178) 2022-10-21 10:35:02 +09:00
from-vim.md Fix typos (#3858) 2022-09-17 06:34:48 -05:00
install.md Clarify use of HELIX_RUNTIME (#4382) 2022-10-20 19:39:30 -05:00
keymap.md Fix link to textobjects usage from keymap documentation (#4357) 2022-10-18 21:16:44 -05:00
lang-support.md Rewrite Language Support docs (#2065) 2022-04-10 23:20:05 +05:30
languages.md Change syntax for suffix file-types configurations (#4414) 2022-10-22 09:34:15 +09:00
remapping.md book: Refer to keys by key names, not representations 2022-10-12 18:12:54 -05:00
SUMMARY.md Delete hooks.md (#3711) 2022-09-05 14:38:37 -05:00
themes.md Merge pull request #4061 from pascalkuthe/undercurl-modifier 2022-10-19 13:51:13 +09:00
title-page.md book: add wiki links to the title page and install page (#3017) 2022-07-09 11:08:47 -05:00
usage.md book: Refer to keys by key names, not representations 2022-10-12 18:12:54 -05:00