1
0
Fork 0
Commit Graph

32 Commits (daa3d1e8f5c0f61ca16588a88d359fcc8ff117fa)

Author SHA1 Message Date
The Mist b3e3c23146
[Feat] support for take code snapshot in ASCII art format ^ ^ (#114)
* [Refactor] separate calc_wh_with_min_width from calc_wh

* [Feat] support take code snapshot as ascii art

* [Fix] incorrect line number

* [Feat] remove unused logger
2024-07-05 17:00:50 +08:00
The Mist cb3d1a536e
[Feat] add `bg_x_padding`, `bg_y_padding` and `bg_padding` to allows users can customize background padding of snapshot (#112)
* [Feat] add config allow users can customize background padding

* [Update] rename config items which related background config

* [Update] add config to allow users customize the padding of background
2024-07-04 13:50:06 +08:00
The Mist 7be7336420
[Feat] add `has_background` config to control visibility of background component (#110)
* [Feat] add has_background config for control visiblity of background
component

* [Feat] add default has_background config
2024-07-03 16:35:41 +08:00
Mist daf3dc6ee3 [Feat] add show_workspace config for display workspace in breadcrumbs 2024-05-07 21:40:54 +08:00
Mist 19dd1d4817 [Feat] supports for allows users can custom min_width of snapshots 2024-05-07 16:44:44 +08:00
Mist 70d7332479 [Update] height of float window 2024-05-07 16:06:45 +08:00
Mist be2992276e [Feat] use code lines instead of raw string 2024-05-07 16:06:45 +08:00
Mist 7a580d2106 [Feat] reduce the opacity of highlight block 2024-05-07 16:06:45 +08:00
Mist 9836ad1163 [Feat] support highlight code block 2024-05-07 16:06:45 +08:00
The Mist 3b7dd6a3ad
[Feat] support line number & remove unused module (#91) 2024-04-26 01:01:17 +08:00
The Mist 72d6a69ace
[Refactor] change the detect filetype strategy (#78) 2024-04-07 17:24:43 +08:00
The Mist 42437163db
[Feat] use auto-generate filename when the filename is not specified (#72)
* [Chore] remove redundancy code

* [Feat] use auto-generate filename when the filename is not specified
2024-04-06 00:10:08 +08:00
The Mist 8bd3cd89e0
[Feat] support highlighting no extension file (#70) 2024-04-05 23:23:17 +08:00
Mist 2572f664cc
[Perf] use print instead of raise error directly (#61) 2024-04-02 20:04:37 +08:00
Mist efeb8d89e2
[Fix] dynamic import generator to avoid initial module not found error (#60) 2024-04-02 19:22:12 +08:00
Mist fefaaa12be
[Feat] add extension as argument (#57) 2024-04-02 18:18:37 +08:00
Mist 272e89ff8e [Feat] add breadcrumbs to display file path 2024-03-17 22:35:58 +08:00
Mist 3f57ce62fc [Feat] add more beautiful background themes 2024-03-17 18:55:01 +08:00
Mist 08f0b24cf4
[Release] v1.0.0 (#43)
* [Update] apply template

* [Feat] update assets files (#35)

* [Update] README add packer install config

* [Feat] take snapshot via skia engine

* [Feat] title component

* [Feat] add watermark

* [Feat] update padding of code panel

* [Remove] pack ci script

* [Release] v1.0.0

* [Update] apply template

* [Chore] remove unused code

* [Update] readme

* [Release] v1.0.1

* [Update] apply template

* [Update] readme

* Update README.md

* [Feat] compile nvim-0.9 FFI

* [Release] v1.0.2

* [Update] apply template

* [Update] README.md

* [Feat] add multi platform support

* [Feat] add workflow for build target binary package

* [Update] files based on generated files by template generator

* [Update] files based on generated files by template generator

* [Update] files based on generated files by template generator

* [Update] files based on generated files by template generator

* [Update] files based on generated files by template generator

* [Update] files based on generated files by template generator

* [Update] files based on generated files by template generator

* [Feat] build plugin after released

* [Delete] build.yml

* [Update] README

* [Release] v1.0.3

* [Update] README

* [Refactor] editor frame size calculation logic

* [Refactor] update margin of watermark

* [Feat] preset font family

* [Refactor] update component interface

* [Update] change theme to onedark

* [Refactor] redefine render_error and throw it to lua scope

* [Perf] build script

* [Refactor] abstract component concept & implement it for all widgets

* [Update] README.md

---------

Co-authored-by: mistricky <mistricky@users.noreply.github.com>
2024-03-17 01:07:12 +08:00
Mist 8d83d91159
[Fix] code style by stylua 2024-02-24 20:22:53 +08:00
Marco 980751083b
[Fix] Better support for the Visual Line Mode
* [FIX] Better support for the Visual Line Mode

* [FIX] Removed VBlockMode + listen for ModeChanged now
2024-02-24 20:18:06 +08:00
Mist 749e8ba996
[Feat] support custom font-family for watermark and code (#21)
* [Feat] support custom font-family for watermark and code

* [Update] README
2024-02-24 19:01:39 +08:00
Mist 7963b3f2cc
[Feat] add preview_title option to configure preview page title (#20)
* [Feat] add preview_title option

* [Update] add preview_title option in document
2024-02-24 18:26:03 +08:00
Mist 1a4642657c
[Chore] remove unused comments (#15) 2024-02-23 23:05:35 +08:00
Mist d60a491d3f
[Chore] fix code style by stylua (#13) 2024-02-23 21:22:02 +08:00
Marco 600c04437c
[Fix] Fixed left to right (#11)
Fixed reversed selections not only working from bottom to top
2024-02-23 17:34:51 +08:00
Marco a9ff9852be
[Fix] Adjusted Selection Direction (#8)
Changes made: Now, when users select upward, I swapped start and end positions to match. 

Also, I noticed a bug in visual block mode, you always show the whole line instead of just the selected characters. Couldn't figure out how to fix it though, since I'm not too familiar with the Vim API :(
2024-02-23 17:23:34 +08:00
Mist 383be3a533 [Feat] finished codesnap client 2024-02-21 18:36:01 +08:00
Mist a088d8b580 [Feat] finished mvp version 2024-02-19 22:28:27 +08:00
Mist 9a73beb12f [Update] add default config option preview switch 2024-02-19 22:28:27 +08:00
Mist 42831a4907 [Feat] setup rust env for neovim plugin 2024-02-19 22:28:27 +08:00
Mist eee4e96948 [Init] setup extension config 2024-02-19 22:28:27 +08:00