1
0
Fork 0
.gitignore and .dockerignore syntax highlighting plugin for lite-xl editor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anthony Axenov 4db158a176
Update language_ignore.lua
2 months ago
LICENSE Initial commit 2 months ago
README.md Fixed title 2 months ago
language_ignore.lua Update language_ignore.lua 2 months ago

README.md

.*ignore syntax support plugin for lite-xl

Lite-XL 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 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 => <Enter> to reboot editor's core and load plugin immidiately.

License

The MIT License