JetBrains Fleet 1.40 Help

TextMate bundles

There may be cases when it is required to have code highlighting with the Smart Mode off, or when the language you need is not supported.

No syntax highlighting for the Zig language

For such cases, JetBrains Fleet provides the ability to add custom TextMate bundles.

Add a TextMate bundle

  1. Navigate to one of the following path depending on your operating system:

    Windows

    ~\AppData\Roaming\JetBrains\Fleet

    Linux

    ~/.config/JetBrains/Fleet

    macOS

    ~/Library/Application Support/Jetbrains/Fleet

  2. In the Fleet directory, create the textmate directory, and place the required TextMate bundles there.

    In this procedure, we use the ziglang/Zig.tmbundle repository at GitHub to enable support for the Zig language. We clone the whole repository to the textmate directory. The full path to the bundle is the following:

    ~/Library/Application Support/Jetbrains/Fleet/textmate/Zig.tmbundle/

  3. Restart JetBrains Fleet.

After you restart JetBrains Fleet, it will pick up the provided bundles and add the highlighting for the respective file types.

Syntax highlighting for Zig without Smart Mode
Last modified: 23 August 2024