Mathis Brossier
85cf2648a2
buffer picker allow hsplit / vsplit ( #1502 )
2022-01-14 15:32:24 +09:00
Jared Ramirez
a2fad4fcb0
Fix Nix flake ( #1455 )
2022-01-13 09:40:07 +09:00
NexiNov
f77dbc7c83
Minor(book): Add G
in normal mode ( #1482 )
2022-01-12 23:43:03 +08:00
Kirawi
8d273a5613
remove outdated note ( #1485 )
2022-01-12 13:11:00 +09:00
Blaž Hrastnik
ddbf03613d
Update tree-sitter-go with generics support
2022-01-11 19:10:02 +09:00
dependabot[bot]
afc602d306
build(deps): bump clipboard-win from 4.2.2 to 4.3.0 ( #1476 )
...
Bumps [clipboard-win](https://github.com/DoumanAsh/clipboard-win ) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/DoumanAsh/clipboard-win/releases )
- [Commits](https://github.com/DoumanAsh/clipboard-win/commits )
---
updated-dependencies:
- dependency-name: clipboard-win
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 07:41:18 +08:00
dependabot[bot]
1a34a3ce57
build(deps): bump signal-hook-tokio from 0.3.0 to 0.3.1 ( #1477 )
...
Bumps [signal-hook-tokio](https://github.com/vorner/signal-hook ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: signal-hook-tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 07:40:59 +08:00
Michael Davis
e0a99ae51a
add tree-sitter-git-config ( #1426 )
...
* add tree-sitter-git-config
* add todo comment for improving filetype check
2022-01-09 22:10:20 +08:00
Gokul Soumya
b3b4e78585
Merge branch 'master' into cursor-shape-new
2022-01-09 10:38:58 +05:30
Cottser
97e12f5c5a
docs: editor.filepicker -> editor.file-picker ( #1465 )
2022-01-09 11:45:54 +09:00
Benoît Cortier
05e5520ec0
Put some tests behind #[cfg(test)] ( #1459 )
...
It was missing in a few places.
2022-01-09 00:32:50 +09:00
Michael Davis
939261fc07
expand_selection to current node with no children ( #1454 )
2022-01-09 00:31:05 +09:00
Eric Crosson
5b45bdd80f
docs: document @keyword.control.exception scope
...
As identified in [this GitHub comment](https://github.com/helix-editor/helix/pull/1433#discussion_r777786140 )
2022-01-09 00:30:22 +09:00
Eric Crosson
1c6bc6d455
feat: add tree-sitter-make
...
This commit adds syntax highlighting for GNU Make[^1] makefiles
via tree-sitter-make[^2].
[^1]: https://www.gnu.org/software/make/
[^2]: https://github.com/alemuller/tree-sitter-make
2022-01-09 00:30:22 +09:00
Owen Shepherd
c238f20e1d
Add fixity keywords to haskell's highlights.scm
2022-01-09 00:28:56 +09:00
Owen Shepherd
9eacbc1887
Upgrade haskell queries
2022-01-09 00:28:56 +09:00
Owen Shepherd
41ee45ce54
Upgrade and reenable tree-sitter-haskell
2022-01-09 00:28:56 +09:00
Michael Davis
b799b0d50e
capture markdown link text as markup.link.text ( #1456 )
2022-01-09 00:27:50 +09:00
Kevin Sjöberg
5e22694865
Add default language server for JavaScript ( #1457 )
...
* Add default language server for JavaScript
* Update lang support documentation
2022-01-09 00:27:10 +09:00
CJ van den Berg
1af8dd9912
Rework beginning of themes chapter
...
The specifics of configuring themes has caused some confusion. Hopefully this will clarify things a little.
2022-01-07 16:04:34 -05:00
Michael Davis
a8fd33ac01
add tree-sitter-regex ( #1362 )
...
* add tree-sitter-regex
* adapt regex highlights from upstream
* inject regex into elixir sigil_r/2 and sigil_R/2
* generate lang-support docs
* capture interesting nodes in character-ranges
* make $.character_class captures more consistent
* fix fallthrough behavior for character classes
* capture pattern characters as 'string'
* use latest tree-sitter-regex
* set elixir regex injections as combined
* add link to upstream queries
* inject regex in rust into 'Regex::new' raw string literals
2022-01-06 23:00:00 +08:00
Gokul Soumya
449624965b
Merge branch 'master' into cursor-shape-new
2022-01-06 11:32:03 +05:30
Matouš Dzivjak
2e02a1d6bc
feat(commands): shrink_selection ( #1340 )
...
* feat(commands): shrink_selection
Add `shrink_selection` command that can be used to shrink
previously expanded selection.
To make `shrink_selection` work it was necessary to add
selection history to the Document since we want to shrink
the selection towards the syntax tree node that was initially
selected.
Selection history is cleared any time the user changes
selection other way than by `expand_selection`. This ensures
that we don't get some funky edge cases when user calls
`shrink_selection`.
Related: https://github.com/helix-editor/helix/discussions/1328
* Refactor shrink_selection, move history to view
* Remove useless comment
* Add default key mapping for extend&shrink selection
* Rework contains_selection method
* Shrink selection without expand selects first child
2022-01-06 11:12:02 +09:00
Philipp Mildenberger
66afbc9fff
Fix null and boolean constants in tree-sitter-nix highlights queries ( #1428 )
2022-01-06 11:04:55 +09:00
Blaž Hrastnik
3e4f81547c
fix: Use std::path::MAIN_SEPARATOR to determine completion
...
Refs #1439
2022-01-06 11:03:54 +09:00
Stuart Hinson
b18bda928f
fix slash in search selector status message ( #1449 )
2022-01-06 10:39:19 +09:00
Blaž Hrastnik
7767703979
fix: Only use shellwords parsing on unix platforms
2022-01-05 11:01:30 +09:00
Blaž Hrastnik
bed9aced5f
Revert "Convert Windows style path separator in completers to Unix style ( #1389 )"
...
This reverts commit 49444f9c05
.
2022-01-05 10:58:12 +09:00
Blaž Hrastnik
bd0d20a2b3
minor: Fix previous version's header
2022-01-04 19:25:59 +09:00
Blaž Hrastnik
1bcae78f06
minor: Fix some changelog links
2022-01-04 18:58:26 +09:00
Blaž Hrastnik
efaac6c5d3
Release 0.6
2022-01-04 18:54:37 +09:00
Blaž Hrastnik
c8794b30ee
Update changelog
2022-01-04 18:54:37 +09:00
Sebastian Neubauer
5b1a628e81
Add textobjects and indents to c and cpp ( #1293 )
...
Indentation of single line statements doesn't work, i.e.
for (;;)<hit enter>
leads to
for(;;)
<cursor here>
Only blocks with curly braces are indented.
2022-01-04 10:53:04 +09:00
Sebastian Neubauer
641255ccc8
Add llvm-mir highlighting ( #1398 )
...
* Add injection regex for more languages
To support embedding them in other languages like markdown.
* Add llvm-mir highlighting
LLVM Machine IR is dumped as yaml files that can embed LLVM IR and
Machine IR.
To support this, add a llvm-mir-yaml language that uses the yaml
parser, but uses different injections to highlight IR and MIR.
* Update submodule with fixed multiline comments
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2022-01-04 10:52:34 +09:00
dumrich
7c9d3682db
Fix grammatical error ( #1427 )
...
it's to its (possessive)
2022-01-04 10:45:31 +09:00
dependabot[bot]
4d59f66b76
build(deps): bump tree-sitter from 0.20.1 to 0.20.2 ( #1429 )
...
Bumps [tree-sitter](https://github.com/tree-sitter/tree-sitter ) from 0.20.1 to 0.20.2.
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases )
- [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.20.1...v0.20.2 )
---
updated-dependencies:
- dependency-name: tree-sitter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 10:44:48 +09:00
dependabot[bot]
96935eb28d
build(deps): bump serde_json from 1.0.73 to 1.0.74 ( #1430 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.73 to 1.0.74.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.73...v1.0.74 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 10:44:15 +09:00
dependabot[bot]
78967779bd
build(deps): bump ropey from 1.3.1 to 1.3.2 ( #1431 )
...
Bumps [ropey](https://github.com/cessen/ropey ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/cessen/ropey/releases )
- [Changelog](https://github.com/cessen/ropey/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cessen/ropey/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: ropey
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 10:44:10 +09:00
dependabot[bot]
61fe1dc9e8
build(deps): bump serde from 1.0.132 to 1.0.133 ( #1432 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 10:44:03 +09:00
Mathis Brossier
dbaed0ba83
scroll: change only main selection, only when needed ( #1420 )
...
Co-authored-by: mathis <mathis.brossier@universite-paris-saclay.fr>
2022-01-03 11:50:53 +09:00
WindSoilder
609f7363a1
Add everforest_light, change everforest_dark string color ( #1412 )
2022-01-03 11:32:47 +09:00
Omnikar
ed97ecceb8
Add :cquit!
command and prevent :cquit
from ignoring unsaved changes ( #1414 )
...
* Add `:cquit!` command and prevent `:cquit` from ignoring unsaved changes
* `cargo xtask docgen`
2022-01-03 11:31:24 +09:00
Kirawi
ea095ca5fb
Optimize lsp_pos_to_pos ( #1423 )
...
lines().count() is slow compared to len_lines()
2022-01-03 11:26:17 +09:00
Triton171
4da050b4bb
Add basic indentation for languages without treesitter-based indentation rules (always use the indent of the current line for a new line). ( #1341 )
...
Fix several bugs in the treesitter indentation calculation.
Co-authored-by: Triton171 <triton0171@gmail.com>
2022-01-03 11:03:57 +09:00
Sebastian Neubauer
8f2af71340
Add LLVM TableGen highlighting ( #1409 )
...
Add a tree-sitter grammar and highlights for TableGen files.
TableGen and its grammar are described here:
https://llvm.org/docs/TableGen/index.html
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2022-01-03 10:57:55 +09:00
Kirawi
93a948d889
switch redundant current! usage to doc! ( #1416 )
2022-01-03 10:46:57 +09:00
Martin Junghanns
aaa42e1a69
Underline diagnostics in bogster theme ( #1399 )
2022-01-02 13:45:22 +09:00
Flakebi
0dab6c8c17
Fix markdown code-block highlighting
...
Markdown code blocks should be highlighted as a single block, so set
injection.include-children.
2022-01-01 17:36:12 +08:00
Alexis Mousset
8a019b423f
Detect workspace root using language markers ( #1370 )
...
* Detect workspace root using language markers
* Avoid allocating root_markers
* Update helix-core/src/lib.rs
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Update helix-core/src/lib.rs
Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
2021-12-31 17:06:54 +09:00
Michael Davis
8fda87af2b
add tree-sitter-git-rebase ( #1402 )
...
* add submodule on tree-sitter-rebase, add to languages
* add basic highlights query
* inject bash in execute statements
* update tree-sitter-rebase
* tree-sitter-rebase->tree-sitter-git-rebase
* get injection working with tree-sitter-git-commit
* set scope under source.gitrebase
* unset include-children on commit message injections
* Revert "unset include-children on commit message injections"
This reverts commit 2ecee155ea8e229651920b291062c2ee84b47944.
* fix generated language docs
* use rebase_command scopes from tree-sitter-git-commit
2021-12-31 06:58:47 +08:00