/light-rs

A lightweight text editor written in Rust

Primary LanguageLuaMIT LicenseMIT

Light

screenshot

A lightweight text editor written in Rust and Lua, forked from lite.

Overview

Light is a lightweight text editor aiming to be a fully open source and lighter alternative to VS Code. It is currently a personal project and far from being a serious alternative.

The project was forked from lite and its original C code was converted into Rust using C2Rust. Refactoring the code into more safe and idiomatic Rust is WIP.

Customization

Additional functionality can be added through plugins and colors themes.

Light should be compatible with the original lite themes and plugins so far:

The editor can also be customized by making changes to the user module.

Building

Building this project requires installing the Rust compiler and the Cargo package manager.

Once the tools are installed, you can build and run the project yourself on Linux using cargo run.

Note that the project does not need to be rebuilt if you are only making changes to the Lua portion of the code.

Contributing

Any additional functionality that can be added through a plugin should be done so as a plugin, after which a pull request to the plugins repository can be made. Bug reports and bug fixes are welcome.

License

This project is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.