1
0
Fork 0
.gitignore and .dockerignore syntax highlighting plugin for lite-xl editor
Go to file
Anthony Axenov 4db158a176
Update language_ignore.lua
2022-06-25 11:35:15 +08:00
LICENSE Initial commit 2022-06-25 00:15:40 +08:00
README.md Fixed title 2022-06-25 11:26:56 +08:00
language_ignore.lua Update language_ignore.lua 2022-06-25 11:35:15 +08:00

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