- Rust 96.6%
- Nix 3.4%
| npins | ||
| runtime | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| rustfmt.toml | ||
| shell.nix | ||
leti - lean emacs text inscriber
leti is a tiny text editor. i wrote it initially to learn about text editing. it supports LSP, tree-sitter and is async by default. it is also written in a single file, which i posed on myself as a fun limitation to not overblow the proportions.
why?
for fun of course! and also i have struggled with big codebases on GNU emacs. while writing this editor i struggle with lags due to Language Server Protocol being very taxing on this 40 year old operating system. mainly due to the single-threaded nature and slow json parsing. even with lsp-bridge emacs is just not fast enough to be comfortable.
will you implement X?
probably not. i see this only as a passion project. but feel free to make a PR or a fork.
what dark magic are you using?
this project would not be possible without the incredible linebender libraries, which provide the graphical stack, including the UI library.
for the editor side, im piggybacking off of helix, their themes and their treesitter library and queries.
if you want to look more in depth, dont hesitate to look at the source, it's just a single file!
building
if you are using nix, the build is as simple as running the shell and
then calling cargo build. i currently do not plan on packaging this app.