Plugin System
Texts0 features a robust plugin system that allows users to extend the editor's functionality. Plugins are dynamically loaded shared libraries that can add new languages, themes, and tools.
Plugin Types
There are three main types of plugins in Texts0:
- Language Plugins: Add syntax highlighting and language-specific features using Tree-sitter grammars.
- Theme Plugins: Provide new color schemes and visual styles for the editor interface.
- Tool Plugins: Extend the editor's capabilities with tools like formatters, git integration, and more.
Marketplace
You can browse and download plugins from the official Texts0 Plugin Marketplace:
The marketplace is also accessible directly within the editor via the Plugins menu.
Installation
From Marketplace
The easiest way to install a plugin is through the built-in marketplace:
- Open Texts0.
- Go to the Plugins menu -> Marketplace.
- Browse the available plugins.
- Click Install on the desired plugin.
Manual Installation
To manually install a plugin, download the shared library file (.so, .dylib, or .dll) and place it in the appropriate plugin directory for your operating system.
Plugin Directories
Texts0 looks for plugins in the following locations:
- Linux:
~/.config/texts0/plugins/ - macOS:
~/Library/Application Support/texts0/plugins/ - Windows:
%APPDATA%\texts0\plugins\
Developing Plugins
Interested in creating your own plugin? Check out our Plugin Development Guide to get started with the C-ABI based plugin system.