Fixed headings (# / ##) to match other docs (#11192)
This commit is contained in:
parent
884b53c767
commit
850c9f691e
8 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Adding new languages to Helix
|
## Adding new languages to Helix
|
||||||
|
|
||||||
In order to add a new language to Helix, you will need to follow the steps
|
In order to add a new language to Helix, you will need to follow the steps
|
||||||
below.
|
below.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Adding indent queries
|
## Adding indent queries
|
||||||
|
|
||||||
Helix uses tree-sitter to correctly indent new lines. This requires a tree-
|
Helix uses tree-sitter to correctly indent new lines. This requires a tree-
|
||||||
sitter grammar and an `indent.scm` query file placed in `runtime/queries/
|
sitter grammar and an `indent.scm` query file placed in `runtime/queries/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Adding Injection Queries
|
## Adding Injection Queries
|
||||||
|
|
||||||
Writing language injection queries allows one to highlight a specific node as a different language.
|
Writing language injection queries allows one to highlight a specific node as a different language.
|
||||||
In addition to the [standard][upstream-docs] language injection options used by tree-sitter, there
|
In addition to the [standard][upstream-docs] language injection options used by tree-sitter, there
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Adding textobject queries
|
## Adding textobject queries
|
||||||
|
|
||||||
Helix supports textobjects that are language specific, such as functions, classes, etc.
|
Helix supports textobjects that are language specific, such as functions, classes, etc.
|
||||||
These textobjects require an accompanying tree-sitter grammar and a `textobjects.scm` query file
|
These textobjects require an accompanying tree-sitter grammar and a `textobjects.scm` query file
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Language Support
|
## Language Support
|
||||||
|
|
||||||
The following languages and Language Servers are supported. To use
|
The following languages and Language Servers are supported. To use
|
||||||
Language Server features, you must first [configure][lsp-config-wiki] the
|
Language Server features, you must first [configure][lsp-config-wiki] the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Languages
|
## Languages
|
||||||
|
|
||||||
Language-specific settings and settings for language servers are configured
|
Language-specific settings and settings for language servers are configured
|
||||||
in `languages.toml` files.
|
in `languages.toml` files.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Key remapping
|
## Key remapping
|
||||||
|
|
||||||
Helix currently supports one-way key remapping through a simple TOML configuration
|
Helix currently supports one-way key remapping through a simple TOML configuration
|
||||||
file. (More powerful solutions such as rebinding via commands will be
|
file. (More powerful solutions such as rebinding via commands will be
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Themes
|
## Themes
|
||||||
|
|
||||||
To use a theme add `theme = "<name>"` to the top of your [`config.toml`](./configuration.md) file, or select it during runtime using `:theme <name>`.
|
To use a theme add `theme = "<name>"` to the top of your [`config.toml`](./configuration.md) file, or select it during runtime using `:theme <name>`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue