Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anthonyaxenov/lite-xl-ignore-syntax

.gitignore and .dockerignore syntax highlighting plugin for lite-xl editor
https://github.com/anthonyaxenov/lite-xl-ignore-syntax

dockerignore gitignore ignore lite-xl plugin syntax-highlighting

Last synced: 5 days ago
JSON representation

.gitignore and .dockerignore syntax highlighting plugin for lite-xl editor

Awesome Lists containing this project

README

        

# `.*ignore` syntax support plugin for lite-xl

[Lite-XL](https://lite-xl.com/) is lightweight, fast and customizable open-source code editor.

This plugin adds extra syntax highlighting for such fyletypes:
* `.gitignore`
* `.dockerignore`
* and any other `.blablablaignore` which has identical simple syntax rules.

Supported highlighting:
* comments;
* excluded (ignored) patterns;
* included (not-ignored) patterns.

You can use any of [these files](https://github.com/github/gitignore) to check how plugin works (just rename it to `.gitignore` or `.dockerignore`).

## How to install

To install a plugin:

* Drop `language_env.lua` file in:
* Linux: `~/.config/lite-xl/plugins/`
* MacOS: `~/.config/lite-xl/plugins/`
* Windows: `C:\Users\(username)\.config\lite-xl\plugins\`
* If lite-xl is already opened then `Ctrl+Shift+P => rst => ` to reboot editor's core and load plugin immidiately.

## License

[The MIT License](LICENSE)