helix/helix-core/src
Michael Davis c1f90a127b add tree-sitter sources to languages.toml
Here we add syntax to the languages.toml languge

    [[grammar]]
    name = "<name>"
    source = { .. }

Which can be used to specify a tree-sitter grammar separately of
the language that defines it, and we make this distinction for
two reasons:

* In later commits, we will separate this code from helix-core
  and bring it to a new helix-loader crate. Using separate schemas
  for language and grammar configurations allows for a nice divide
  between the types needed to be declared in helix-loader and in
  helix-core/syntax

* Two different languages may use the same grammar. This is currently
  the case with llvm-mir-yaml and yaml. We could accomplish a config
  that works for this with just `[[languages]]`, but it gets a bit
  dicey with languages depending on one another. If you enable
  llvm-mir-yaml and disable yaml, does helix still need to fetch and
  build tree-sitter-yaml? It could be a matter of interpretation.
2022-03-10 17:31:57 +09:00
..
increment Replace tendril with smartstring 2022-02-10 11:12:47 +09:00
auto_pairs.rs Configurable auto pairs (#1624) 2022-02-25 17:36:54 +09:00
chars.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +09:00
comment.rs Specify capacity on toggle_line_comments 2021-11-08 10:03:21 +09:00
config.rs Refactor language config loading (#1658) 2022-02-15 01:41:53 +09:00
diagnostic.rs feat(lsp): configurable diagnostic severity (#1325) 2021-12-25 14:32:43 +09:00
diff.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +09:00
graphemes.rs fix: ensure_grapheme_boundary_next_byte needs to index at valid char 2022-01-23 16:04:26 +09:00
history.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +09:00
indent.rs add tree-sitter sources to languages.toml 2022-03-10 17:31:57 +09:00
lib.rs Add --health command for troubleshooting (#1669) 2022-03-08 14:25:46 +09:00
line_ending.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +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 Add object.movement for tree-sitter navigation 2022-02-15 14:04:46 +09:00
object.rs add select_next_sibling and select_prev_sibling commands (#1495) 2022-01-21 00:52:33 +09:00
path.rs fix: Expand tilde first, then deal with relative paths 2021-11-19 12:09:17 +09:00
position.rs Fix tab rendering to use dynamic tab width 2022-03-04 11:01:33 +09:00
register.rs Show infobox with register contents 2022-02-10 10:52:06 +09:00
search.rs Switch to a cleaner range-head moving abstraction. 2021-07-24 07:44:11 -07:00
selection.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +09:00
shellwords.rs Open files with spaces in filename, allow opening multiple files (#1231) 2021-12-12 21:13:33 +09:00
state.rs Reduce State use a bit further 2021-08-26 09:21:07 +09:00
surround.rs Show surround delete and replace errors in editor (#1709) 2022-02-28 17:56:39 +09:00
syntax.rs add tree-sitter sources to languages.toml 2022-03-10 17:31:57 +09:00
textobject.rs Add object.movement for tree-sitter navigation 2022-02-15 14:04:46 +09:00
transaction.rs core: transaction: Resolve some TODOs 2022-03-03 17:04:25 +09:00