chunghha
4526216139
chore(theme): update markup styles for rose_pine themes ( #1706 )
3 years ago
Michael Daffin
f83843ceba
Add kotlin language ( #1689 )
...
* Add kotlin language
Queries taken from https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/kotlin seem to work well enough for my needs though I don't use kotlin heavily.
* Update lang-support doc
* Updates the kotlin highlight query to use helixs scopes
* Updates the queries from PR feedback
* Adds 'shallow = true' to gitmodules
* Removes kotlin locals.scm
* Remove blank line
Co-authored-by: Ivan Tham <pickfire@riseup.net>
Co-authored-by: Ivan Tham <pickfire@riseup.net>
3 years ago
Bram
40eb1268c7
Close some popups automatically ( #1285 )
...
* Add Event::Used to use event callback without consuming
* Close popup if contents ignored event
* collect event results before executing callbacks
* don't add new result variant, use Ignored(..) instead
* break in match cases
* Make auto_close configurable
* fix merge
* auto close hover popups
* fix formatting
3 years ago
Arjun P
e1a92fd399
Readme: fix typo ( #1695 )
3 years ago
dependabot[bot]
806cc1c3b1
build(deps): bump tokio from 1.16.1 to 1.17.0 ( #1691 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.16.1 to 1.17.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.16.1...tokio-1.17.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
3 years ago
dependabot[bot]
dd549e1729
build(deps): bump cc from 1.0.72 to 1.0.73 ( #1693 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.72...1.0.73 )
---
updated-dependencies:
- dependency-name: cc
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>
3 years ago
dependabot[bot]
77b1a4a768
build(deps): bump smartstring from 0.2.9 to 0.2.10 ( #1692 )
...
Bumps [smartstring](https://github.com/bodil/smartstring ) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/bodil/smartstring/releases )
- [Changelog](https://github.com/bodil/smartstring/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bodil/smartstring/compare/v0.2.9...v0.2.10 )
---
updated-dependencies:
- dependency-name: smartstring
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>
3 years ago
dependabot[bot]
7d2a77e53c
build(deps): bump anyhow from 1.0.53 to 1.0.55 ( #1690 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.53 to 1.0.55.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.53...1.0.55 )
---
updated-dependencies:
- dependency-name: anyhow
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>
3 years ago
Blaž Hrastnik
24f86017a6
fix: ui: Markdown popups stopped taking vertical padding into account
...
Fix #1688
3 years ago
Alex
865881ba19
update markup styles for everforest theme ( #1687 )
3 years ago
Blaž Hrastnik
1ca6ba03ca
Simplify some code
3 years ago
Alex
d5ba0b5162
Allow separate styles for markup headings ( #1618 )
...
* update markdown highlighting to use separate heading themes
* remove markdown theme scopes in ui
3 years ago
Daniel S Poulin
700058f433
Always ignore the .git directory in file picker ( #1604 )
...
Some users (including myself) want to turn off filtering of files
prefixed with `.`, as they are often useful to edit. For example, `.env`
files, configuration for linters `.eslint.json` and the like.
3 years ago
Blaž Hrastnik
c7b326be04
ui: prompt: Render aliases + border on the doc
3 years ago
Blaž Hrastnik
2af04325d8
fix: Allow multi-line prompt documentation
3 years ago
Blaž Hrastnik
a449156702
Extract a lsp position helper
3 years ago
Blaž Hrastnik
5af9136aec
Extract some duplication in lsp goto_ calls
3 years ago
Blaž Hrastnik
1cd710fe01
Extract jump_to_location
3 years ago
Blaž Hrastnik
4e845409b6
Extract a common "language server or return" macro
3 years ago
Blaž Hrastnik
c06155ace4
Extract a helper function for lsp::Location
3 years ago
Blaž Hrastnik
504d5ce8bd
Move most LSP specific commmands to commands::lsp
3 years ago
Blaž Hrastnik
7b1d682fe5
dap: fix runInTerminal with lldb-vscode
3 years ago
Blaž Hrastnik
4e1b3b12f3
Refactor symbol picker to share code
3 years ago
Michael Davis
a8cf0c6b90
filter git revision on git command success exit code ( #1674 )
...
The unwrap (or '.ok()' rather) triggers for some errors but not
negative status codes. In the case where helix is being packaged
in an empty git repository, the existing mechanism will fail because
git init
git rev-parse HEAD
gives a negative exit code and prints to stderr
stderr: "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree....
with a stdout of "HEAD\n" (too short to slice with [..8]).
3 years ago
tomKPZ
368064e316
Fix bug when launching hx file.rs:10 ( #1676 )
3 years ago
Matouš Dzivjak
afec54485a
feat(commands): command palette ( #1400 )
...
* feat(commands): command palette
Add new command to display command pallete that can be used
to discover and execute available commands.
Fixes: https://github.com/helix-editor/helix/issues/559
* Make picker take the whole context, not just editor
* Bind command pallete
* Typable commands also in the palette
* Show key bindings for commands
* Fix tests, small refactor
* Refactor keymap mapping, fix typo
* Ignore sequence key bindings for now
* Apply suggestions
* Fix lint issues in tests
* Fix after rebase
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
Blaž Hrastnik
24f90ba8d8
Manually recalculate initial completion where it matters
3 years ago
Blaž Hrastnik
af21e2a5b4
Pass through Editor instead of Context
3 years ago
Cole Helbling
e023a78919
WIP: show all buffers that couldn't be closed
3 years ago
Cole Helbling
6118486eb2
helix-term: implement buffer completer
...
In order to implement this completer, the completion function needs to
be able to access the compositor's context (to allow it to get the
list of buffers currently open in the context's editor).
3 years ago
Cole Helbling
a1207fd768
helix-term/commands: display buffer id in picker
3 years ago
Blaž Hrastnik
d11b652139
Allow static strings in set_status/set_error so API is nicer
3 years ago
Blaž Hrastnik
fd0e4b1159
dap: Reduce amount of block_on uses
3 years ago
David Crespo
a629343476
Fix hover menu item text color in base16 themes ( #1668 )
...
* fix hover menu item text in base16 dark
* same ix for base16_default_light and base16_terminal
3 years ago
Gokul Soumya
ab2a0f325b
Add object.movement for tree-sitter navigation
3 years ago
Gokul Soumya
989407f190
Add docs for tree-sitter based navigation
3 years ago
Gokul Soumya
966fbc5984
Add tree-sitter based function, class navigation
3 years ago
Blaž Hrastnik
1422449537
..
3 years ago
Blaž Hrastnik
eeb9b39857
Fix build on master
3 years ago
Ludwig Stecher
4429993842
Add `PageUp`, `PageDown`, `Ctrl-u`, `Ctrl-d`, `Home`, `End` keyboard shortcuts to file picker ( #1612 )
...
* Add `PageUp`, `PageDown`, `Ctrl-u`, `Ctrl-d`, `Home`, `End` keyboard shortcuts to file picker
* Refactor file picker paging logic
* change key mapping
* Add overlay component
* Use closure instead of margin to calculate size
* Don't wrap file picker in `Overlay` automatically
3 years ago
Kirawi
23907a063c
use PathBuf::to_string_lossy() instead of to_str() ( #1655 )
3 years ago
Michael Davis
3a83a764e3
add tree-sitter-erlang ( #1657 )
3 years ago
Blaž Hrastnik
8a7aec6414
fix: nix flake build
3 years ago
dependabot[bot]
225484c26c
build(deps): bump serde_json from 1.0.78 to 1.0.79 ( #1667 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.78...v1.0.79 )
---
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>
3 years ago
Gokul Soumya
4c424d5ee4
Refactor language config loading ( #1658 )
3 years ago
CossonLeo
e267dc834a
Makefile indent must be '\t' ( #1661 )
3 years ago
Gokul Soumya
59acee308d
Add new dap commands to docs ( #1660 )
3 years ago
Blaž Hrastnik
97d4b2b5fe
Mark DAP as experimental
3 years ago
Blaž Hrastnik
bd549d8a20
Merge remote-tracking branch 'origin/master' into debug
3 years ago
Cydiater
7083b98a38
postpone clone after found ( #1656 )
3 years ago