Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into cli_execute_command
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydbond committed Sep 16, 2023
2 parents a5e1c85 + 941dc6c commit 5f62202
Show file tree
Hide file tree
Showing 37 changed files with 1,123 additions and 316 deletions.
77 changes: 58 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion book/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ code.hljs {
--searchresults-header-fg: #5f5f71;
--searchresults-border-color: #5c5c68;
--searchresults-li-bg: #242430;
--search-mark-bg: #acff5;
--search-mark-bg: #a2cff5;
}

.colibri .content .header {
Expand Down
1 change: 1 addition & 0 deletions book/src/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Its settings will be merged with the configuration directory `config.toml` and t
| `text-width` | Maximum line length. Used for the `:reflow` command and soft-wrapping if `soft-wrap.wrap-at-text-width` is set | `80` |
| `workspace-lsp-roots` | Directories relative to the workspace root that are treated as LSP roots. Should only be set in `.helix/config.toml` | `[]` |
| `default-line-ending` | The line ending to use for new documents. Can be `native`, `lf`, `crlf`, `ff`, `cr` or `nel`. `native` uses the platform's native line ending (`crlf` on Windows, otherwise `lf`). | `native` |
| `insert-final-newline` | Whether to automatically insert a trailing line-ending on write if missing | `true` |

### `[editor.statusline]` Section

Expand Down
3 changes: 2 additions & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
| forth || | | `forth-lsp` |
| fortran || || `fortls` |
| fsharp || | | `fsautocomplete` |
| gas ||| | |
| gdscript |||| |
| gemini || | | |
| git-attributes || | | |
Expand Down Expand Up @@ -112,7 +113,7 @@
| pascal ||| | `pasls` |
| passwd || | | |
| pem || | | |
| perl || | | `perlnavigator` |
| perl || | | `perlnavigator` |
| php |||| `intelephense` |
| po ||| | |
| pod || | | |
Expand Down
1 change: 1 addition & 0 deletions book/src/generated/typable-cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
| `:lsp-restart` | Restarts the language servers used by the current doc |
| `:lsp-stop` | Stops the language servers that are used by the current doc |
| `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
| `:tree-sitter-highlight-name` | Display name of tree-sitter highlight scope under the cursor. |
| `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. |
| `:debug-remote`, `:dbg-tcp` | Connect to a debug adapter by TCP address and start a debugging session from a given template with given parameters. |
| `:debug-eval` | Evaluate expression in current debug context. |
Expand Down
13 changes: 10 additions & 3 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ files, run
cargo xtask docgen
```

inside the project. We use [xtask][xtask] as an ad-hoc task runner and
thus do not require any dependencies other than `cargo` (You don't have
to `cargo install` anything either).
inside the project. We use [xtask][xtask] as an ad-hoc task runner.

To preview the book itself, install [mdbook][mdbook]. Then, run

```shell
mdbook serve book
```

and visit [http://localhost:3000](http://localhost:3000).

# Testing

Expand All @@ -58,4 +64,5 @@ The current MSRV and future changes to the MSRV are listed in the [Firefox docum
[architecture.md]: ./architecture.md
[docs]: https://docs.helix-editor.com/
[xtask]: https://github.com/matklad/cargo-xtask
[mdbook]: https://rust-lang.github.io/mdBook/guide/installation.html
[helpers.rs]: ../helix-term/tests/test/helpers.rs
2 changes: 1 addition & 1 deletion helix-core/src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ impl Syntax {
let res = syntax.update(source, source, &ChangeSet::new(source));

if res.is_err() {
log::error!("TS parser failed, disabeling TS for the current buffer: {res:?}");
log::error!("TS parser failed, disabling TS for the current buffer: {res:?}");
return None;
}
Some(syntax)
Expand Down
Loading

0 comments on commit 5f62202

Please sign in to comment.