aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add WORD textobject (#991)Omnikar2021-11-08
| | | | | * Add WORD textobject * Document WORD textobject
* Touch up docs for adding new language (#1002)Gokul Soumya2021-11-08
|
* fix(core): stop merging array toml config values (#1004)Carter Snook2021-11-08
|
* book: Mention git submodule sync tooBlaž Hrastnik2021-11-07
|
* feat(book/src/languages.md) (#979)ammkrn2021-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(book/src/languages.md) Add a section in the book about language-specific settings and the languages.toml file. * Update book/src/languages.md Co-authored-by: Gokul Soumya <gokulps15@gmail.com> * feat(book/src/guides/adding_languages.md) Add book section on adding a new language to the compile-time/root languages.toml file. * Update book/src/guides/adding_languages.md Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Update book/src/guides/adding_languages.md Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * refactor(revise book/src/languages.md) Change the book page on language settings to match suggestions by archseer and mention both toml files. Co-authored-by: Gokul Soumya <gokulps15@gmail.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Launch with defaults upon invalid config/theme (#982)Omnikar2021-11-06
| | | | | | | | * Launch with defaults upon invalid config/theme * Startup message if there is a problematic config * Statusline error if trying to switch to an invalid theme * Use serde `deny_unknown_fields` for config
* Specify vector capacity on surround_addBlaž Hrastnik2021-11-06
|
* Simplify current!(..).1 into doc!()Blaž Hrastnik2021-11-06
|
* Make sure document diagnostics are sortedBlaž Hrastnik2021-11-06
|
* Simplify goto_*_diagnostic commandsBlaž Hrastnik2021-11-06
|
* minor: view!(..).doc is slightly more efficient than current!(..).1.id()Blaž Hrastnik2021-11-06
|
* minor: Extend search was decclared twice in the keymapBlaž Hrastnik2021-11-06
|
* Retain range direction on searchBlaž Hrastnik2021-11-06
| | | | Co-authored-by: CossonLeo <20379044+cossonleo@users.noreply.github.com>
* Implement Selection::replace to replace a single rangeBlaž Hrastnik2021-11-06
| | | | | | Fixes #985 Co-authored-by: Daniel S Poulin <crimsonmage+github@gmail.com>
* Add reverse search functionality (#958)Gygaxis Vainhardt2021-11-06
| | | | | | | | | | | | | * Add reverse search functionality * Change keybindings for extend to be in select mode, incorporate Movement and Direction enums * Fix accidental revert of #948 in rebase * Add reverse search to docs, clean up mismatched whitespace * Reverse search optimization * More optimization via github feedback
* Allow infoboxes to be disabled (#972)Omnikar2021-11-05
| | | | | | | | | | | * Allow infoboxes to be disabled * Document `infoboxes` default value * Rename `infoboxes` to `auto_info` * Document `auto-info` * Fix incomplete rename
* Inform when reaching undo/redo bounds (#981)Omnikar2021-11-05
| | | | | | | | * Inform when reaching undo/redo bounds * `Already at oldest change` when undo fails * `Already at newest change` when redo fails * Add missing `the`
* Fix crash on changing from empty scratch buffer to itself (#975)ath32021-11-04
|
* Rewrite goto_bufferBlaž Hrastnik2021-11-04
|
* Implement "Goto next buffer / Goto previous buffer" commandsath32021-11-04
|
* Replace documents SlotMap with BTreeMapBlaž Hrastnik2021-11-04
|
* Add c-s to pick word under doc cursor to prompt line & search completion (#831)CossonLeo2021-11-04
| | | | | | | | | | | | | | | * Add prompt shourtcut to book Add completions to search Add c-s to pick word under doc cursor to prompt line * limit 20 last items of search completion, update book * Update book/src/keymap.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * limit search completions 200 Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Prevent preview binary or large file (#939)diegodox2021-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent preview binary or large file (#847) * fix wrong method name * fix add use trait * update lock file * rename MAX_PREVIEW_SIZE from MAX_BYTE_PREVIEW * read small bytes to determine cotent type * [WIP] add preview struct to represent calcurated preveiw * Refactor content type detection - Remove unwraps - Reuse a single read buffer to avoid 1kb reallocations between previews * Refactor preview rendering so we don't construct docs when not necessary * Replace unwarap whit Preview::NotFound * Use index access to hide unwrap Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * fix Get and unwarp equivalent to referce of Index acess * better preview implementation * Rename Preview enum and vairant Co-authored-by: Gokul Soumya <gokulps15@gmail.com> * fixup! Rename Preview enum and vairant * simplify long match * Center text, add docs, fix formatting, refactor Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
* Truncate the starts of file paths instead of the ends in picker (#951)Omnikar2021-11-04
| | | | | | | | | | | | | * Truncate the starts of file paths in picker * Simplify the truncate implementation * Break loop at appropriate point * Fix alignment and ellipsis presence * Remove extraneous usage of `x_offset` Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Hide keys bound to `no_op` from infobox (#971)Omnikar2021-11-04
|
* Add better description for copy_selection command (#969)Gokul Soumya2021-11-03
|
* Ensure coords in screen depends on char width (#885)Ivan Tham2021-11-03
| | | | | The issue affected files with lots of tabs at the start as well. Fix #840
* Updated tree-sitter query scopes (#896)Kirawi2021-11-03
| | | | | | | | | | | | | | | | | | * updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
* Simplify BTreeSet constructionTriton1712021-11-03
| | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Implement key ordering for info boxDaniel Ebert2021-11-03
|
* chore(doc): use faq for finding helix log file (#963)Carter Snook2021-11-03
|
* Add indents definition based on the one from nvim-treesitterDaniel Poulin2021-11-02
|
* Adjust PHP indentation defaults to 4 spacesDaniel Poulin2021-11-02
| | | | | | In the PHP community, 4 spaces is widely considered the default, as it is recommended by the PSR-2 and PSR-12 standards, as well as popular derivative standards like those for Laravel and Symphony.
* only remove primary index when search next without extend (#948)CossonLeo2021-11-02
|
* build(deps): bump tokio-stream from 0.1.7 to 0.1.8 (#953)dependabot[bot]2021-11-02
| | | | | | | | | | | | | | | | Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.7 to 0.1.8. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.7...tokio-stream-0.1.8) --- updated-dependencies: - dependency-name: tokio-stream 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>
* build(deps): bump lsp-types from 0.91.0 to 0.91.1 (#954)dependabot[bot]2021-11-02
| | | | | | | | | | | | | | | | | Bumps [lsp-types](https://github.com/gluon-lang/lsp-types) from 0.91.0 to 0.91.1. - [Release notes](https://github.com/gluon-lang/lsp-types/releases) - [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md) - [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.91.0...v0.91.1) --- updated-dependencies: - dependency-name: lsp-types 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>
* build(deps): bump tokio from 1.12.0 to 1.13.0 (#955)dependabot[bot]2021-11-02
| | | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.12.0 to 1.13.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.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>
* If switching away from an empty scratch buffer, remove it (#935)Omnikar2021-10-31
| | | | | | | * If switching away from an empty scratch buffer, remove it * Move `view.jumps.push` call into `else` clause * Refactor
* add cmake-language-server as cmake language serverkabirz2021-10-30
|
* Update onedark theme (#936)Gokul Soumya2021-10-30
| | | | | - Use named color palette - Remove blue highlight for variables (too much noise) - Add purple highlight for control statements (if, match, etc)
* Add arrow-key bindings for window switching (#933)Gygaxis Vainhardt2021-10-30
|
* Extract a clear_completion methodBlaž Hrastnik2021-10-29
|
* Move 'Note' from incorrect location (#921)Za Wilcox2021-10-29
|
* update cpp queries (#930)Houkime2021-10-29
| | | Co-authored-by: Houkime <>
* Bump lsp-types to 0.91.0 (#932)Ivan Tham2021-10-29
|
* Uncomment mapping LSP diagnostics through changes (#925)Kirawi2021-10-29
|
* Make match work with extend and multi cursors (#920)Ivan Tham2021-10-29
|
* Support extend for multiple goto (#909)Ivan Tham2021-10-29
| | | gg, ge, [n]gg
* select smaller range on some casecossonleo2021-10-29
|
* add expand_selection to last_motioncossonleo2021-10-29
|