aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
Commit message (Collapse)AuthorAge
* appease clippyBlaž Hrastnik2021-07-05
|
* fix: Make path absolute before normalizingBlaž Hrastnik2021-07-05
| | | | :open ../file.txt failed before because .. would be stripped
* fix: When calculating relative path, expand tilde lastBlaž Hrastnik2021-07-05
|
* Info box add horizontal paddingIvan Tham2021-07-04
|
* Reduce calculation and improve pattern in infoboxIvan Tham2021-07-04
| | | | | | - switch to use static OnceCell to calculate Info once - pass Vec<(&[KeyEvent], &str)> rather than Vec<(Vec<KeyEvent>, &str)> - expr -> tt to allow using | as separator, make it more like match
* Apply suggestions from blaz for infoboxIvan Tham2021-07-04
|
* Add infoboxIvan Tham2021-07-04
|
* `:reload` (#374)Kirawi2021-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reloading functionality * fn with_newline_eof() * fmt * wip * wip * wip * wip * moved to core, added simd feature for encoding_rs * wip * rm * .gitignore * wip * local wip * wip * wip * no features * wip * nit * remove simd * doc * clippy * clippy * address comments * add indentation & line ending change
* Color palettes (#393)Jakub Bartodziej2021-06-30
| | | | | | | | | | | | | | | | | | | * Enable using color palettes in theme files. * Add an example theme defined using a gruvbox color palette. * Fix clippy error. * Small style improvement. * Add documentation for the features to themes.md. * Update runtime/themes/gruvbox.toml Fix the value of purple0. Co-authored-by: DrZingo <DrZingo@users.noreply.github.com> Co-authored-by: DrZingo <DrZingo@users.noreply.github.com>
* Added native Windows clipboard support (#373)Kirawi2021-06-30
| | | | | | | | | | | | | | | | | | | * Added native Windows clipboard support * make conditional wip better conditional wip wip wip wip make conditional
* Make Document's format API a little nicer.Joe Neeman2021-06-30
|
* Make formatting happen asynchronously.Joe Neeman2021-06-30
|
* Simplify selection rendering by injecting highlight scopesBlaž Hrastnik2021-06-27
|
* Detect file language before file indent style.Nathan Vegdahl2021-06-26
| | | | | | | Fixes #378. The issue was that because indent style detection ran before language detection, there was no language indent style to fall back on if indent style detection failed, so it would just default to 2 spaces.
* Move helix-view/tests/*txt files to txts subdirectory (#372)teenjuna2021-06-25
| | | | | * Move helix-view/tests/*txt files to txts subdirectory * Rename tests/txts to tests/encoding
* fix: crossterm -> input key conversionBlaž Hrastnik2021-06-25
|
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com>
* Fix previous broken refactor key into helix-viewIvan Tham2021-06-24
| | | | | | | | Need to be used for autoinfo Revert "Revert "Refactor key into helix-view"" This reverts commit 10f9f72232f5789323d689bf0f9cd359715770d6.
* add missing docShafkath Shuhan2021-06-23
|
* Handle non-UTF8 filesShafkath Shuhan2021-06-23
|
* Fix flipped condition where Helix adds a line ending on open.Nathan Vegdahl2021-06-23
|
* Add surround keybindsGokul Soumya2021-06-22
|
* Merge pull request #224 from helix-editor/line_ending_detectionBlaž Hrastnik2021-06-22
|\ | | | | Line ending detection
| * Add function to get the line ending of a str slice.Nathan Vegdahl2021-06-21
| | | | | | | | This is needed in some places.
| * Don't need getters/setters for line_ending property.Nathan Vegdahl2021-06-21
| | | | | | | | | | It's plain-old-data. If we want to do fancier things later, it's easy to switch back.
| * Merge branch 'master' of github.com:helix-editor/helix into ↵Nathan Vegdahl2021-06-20
| |\ | | | | | | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead.
| * | Work on moving code over to LineEnding instead of assuming '\n'.Nathan Vegdahl2021-06-20
| | | | | | | | | | | | Also some general cleanup and some minor fixes along the way.
| * | Misc fixes and clean up of line ending detect code.Nathan Vegdahl2021-06-20
| | |
| * | changed some hardcoded newlines, removed a else if in line_ending.rsJan Hrastnik2021-06-19
| | |
| * | Merge remote-tracking branch 'origin/master' into line_ending_detectionJan Hrastnik2021-06-19
| |\ \
| * | | applied changes from pr reviewJan Hrastnik2021-06-17
| | | |
| * | | fixed some problems from rebasingJan Hrastnik2021-06-16
| | | |
| * | | doc.line_ending() now returns &'static strJan Hrastnik2021-06-16
| | | |
| * | | trying out line ending helper functions in commands.rsJan Hrastnik2021-06-16
| | | |
| * | | added some tests and a line_ending helper function in document.rsJan Hrastnik2021-06-16
| | | |
| * | | added more changes from pr review for line_ending_detectionJan Hrastnik2021-06-16
| | | |
| * | | resolved conflict in rebaseJan Hrastnik2021-06-16
| | | |
| * | | ran cargo clippy and cargo fmtJan Hrastnik2021-06-16
| | | |
| * | | rebase on branch line_ending_detectionJan Hrastnik2021-06-16
| | | |
* | | | Don't run wl-copy with --foregroundBlaž Hrastnik2021-06-21
| |_|/ |/| | | | | It stalls the hx process
* | | Fix doc warningsIvan Tham2021-06-20
| | |
* | | Add system clipboard yank and paste commandsBenoît CORTIER2021-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds six new commands to interact with system clipboard: - clipboard-yank - clipboard-yank-join - clipboard-paste-after - clipboard-paste-before - clipboard-paste-replace - show-clipboard-provider System clipboard provider is detected by checking a few environment variables and executables. Currently only built-in detection is supported. `clipboard-yank` will only yank the "main" selection, which is currently the first one. This will need to be revisited later. Closes https://github.com/helix-editor/helix/issues/76
* | | Use full screen sizewojciechkepka2021-06-20
| | |
* | | Only reconfiure highlights when setting themewojciechkepka2021-06-19
| | |
* | | Add ability to change theme on editorwojciechkepka2021-06-19
| | |
* | | Add themes loaderwojciechkepka2021-06-19
| | |
* | | Revert "Refactor key into helix-view"Blaž Hrastnik2021-06-19
| |/ |/| | | | | | | | | Did not use defaults when custom keymap was used This reverts commit ca806d4f852e934651132fc9570a6110e30f646d.
* | Refactor key into helix-viewIvan Tham2021-06-19
| | | | | | | | Now also make use of Deserialize for Config.
* | Add `close_language_servers` method on `Editor`wojciechkepka2021-06-19
| |
* | Add `work_done_token` as parameter to lsp methodswojciechkepka2021-06-18
| |