helix-mods/helix-core/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
..
increment Resolve clippy lints (#3307) 2022-08-04 14:32:59 +09:00
auto_pairs.rs Fix multi byte auto pairs (#4024) 2022-10-21 09:22:20 +09:00
chars.rs Temporarily turn on unicode-lines 2022-03-17 10:53:50 +09:00
comment.rs Fix toggle_comments command on multiple selections (#1882) 2022-04-05 10:01:58 +09:00
config.rs Add support for local language configuration (#1249) 2022-04-18 12:10:51 +09:00
diagnostic.rs diagnostics: Use Vec<Tag> instead of Option<Vec<Tag>> 2022-09-20 16:28:00 +09:00
diff.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +09:00
graphemes.rs Improve Readability (#2639) 2022-06-01 12:01:37 -05:00
history.rs Improve Readability (#2639) 2022-06-01 12:01:37 -05:00
indent.rs Rename extend indent captures. 2022-10-11 16:48:04 +09:00
lib.rs Split helix_core::find_root and helix_loader::find_local_config_dirs (#3929) 2022-09-23 17:04:07 +09:00
line_ending.rs Fix failing test with unicode-lines feature (#3455) 2022-08-17 10:37:34 +09:00
macros.rs Split parts of helix-term into helix-view. 2020-09-21 18:24:16 +09:00
match_brackets.rs Fix match brackets comment (#1346) 2021-12-24 07:27:31 +05:30
movement.rs Use requested direction for new textobject selection range 2022-10-03 10:44:08 -04:00
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 2022-06-25 13:12:30 -05:00
path.rs Add workspace and document diagnostics picker (#2013) 2022-06-30 18:16:18 +09:00
position.rs feat: make move_vertically aware of tabs and wide characters (#2620) 2022-06-22 01:36:36 +09:00
register.rs fixes showing the last prompt on empty input (#2870) 2022-06-24 17:14:48 +02:00
search.rs Jump to the next number on the line before incrementing (#1778) 2022-04-01 22:14:37 +09:00
selection.rs Use requested direction for new textobject selection range 2022-10-03 10:44:08 -04:00
shellwords.rs Fix shellwords delimiter handling (#4098) 2022-10-21 10:06:57 +09:00
state.rs Reduce State use a bit further 2021-08-26 09:21:07 +09:00
surround.rs Improve Readability (#2639) 2022-06-01 12:01:37 -05:00
syntax.rs Change syntax for suffix file-types configurations (#4414) 2022-10-22 09:34:15 +09:00
test.rs Fix multi byte auto pairs (#4024) 2022-10-21 09:22:20 +09:00
textobject.rs Adjust m textobject description and minor code clarification (#3343) 2022-08-17 10:41:59 +09:00
transaction.rs core: transaction: Resolve some TODOs 2022-03-03 17:04:25 +09:00
wrap.rs add reflow command (#2128) 2022-05-02 23:24:22 +09:00