f1be638ea7
Merge branch 'main' into main
814d4b116b
More efficient scope style lookups
b351dbbcbb
Faster syntax highlighting with a style stack
4f6f17d066
Oops! accidentally set dirty flag every draw
83872583e0
Buffer line styling
814d4b116b
More efficient scope style lookups
b351dbbcbb
Faster syntax highlighting with a style stack
83872583e0
Buffer line styling
742ed97819
Defer stdout flush until end of draw
afaf3ab0fe
Add line command
6f81bab277
Merge branch 'main' of https://git.tebibyte.media/mars/breed
7d46cbcf9b
Live theme reload
b7f9c8ba2e
pub mode-related types
7fff70ce84
Move (some) actions to separate module
aa013fc422
Merge pull request 'basic file handling' (#7) from emma/breed:main into main
4d79d7b946
Merge remote-tracking branch 'upstream/main'
6ef5182cea
fixed file path resolution
c06b39239c
Merge remote-tracking branch 'upstream/main'
0ff694c6c1
better command parsing with file name argument for :w
539360114a
WIP Rose Pine default theme
3d03c90c7b
WIP syntax highlighting
51622bf6fd
Ignore style modifiers and underline for now
7137744122
Merge palette table with default palette
78b24c4203
Support 0-length scopes
basic file handling
This is a very good function, but can we make this function return std::io::Result<()>
instead? I think that displaying the error as a string should be the job of whatever command is saving the file.
basic file handling
I don't think that splitting up commands into chars before processing like this is the right approach. For example, q!
would be treated as two separate commands despite it performing a different operation than q
.
basic file handling
If "q" is given multiple command parts, it still quits without issuing a warning. I'm not sure if this should exit silently even when given more arguments than expected. What do you think?
b048eba60c
Merge pull request 'o-insert' (#5) from roux/breed:o-insert into main
8cb37a7820
Capital O insert mode
badd6a0b71
fixed outdated code
36bbb3b77b
resolve merge conflict
f5ea473328
cargo fmt