All Projects → kakoune-editor → kakoune-extra-filetypes

kakoune-editor / kakoune-extra-filetypes

Licence: Unlicense license
Extra highlighters for the Kakoune editor

Programming Languages

Makefile
30231 projects

Projects that are alternatives of or similar to kakoune-extra-filetypes

tagbar.kak
Tag viewer for Kakoune
Stars: ✭ 19 (-5%)
Mutual labels:  kakoune
kaktree
File explorer side panel for Kakoune
Stars: ✭ 39 (+95%)
Mutual labels:  kakoune
kak-ansi
Kakoune support for rendering ANSI-colored text.
Stars: ✭ 30 (+50%)
Mutual labels:  kakoune
kakoune-edit-or-dir
File browser for Kakoune
Stars: ✭ 18 (-10%)
Mutual labels:  kakoune
kakoune.cr
A command-line tool for Kakoune
Stars: ✭ 42 (+110%)
Mutual labels:  kakoune
connect.kak
Connect a program to Kakoune clients
Stars: ✭ 80 (+300%)
Mutual labels:  kakoune
kakoune-gdb
gdb integration plugin
Stars: ✭ 44 (+120%)
Mutual labels:  kakoune
snippet.kak
Snippets integration for Kakoune
Stars: ✭ 23 (+15%)
Mutual labels:  kakoune
kakoune-find
Find and replace on open buffers
Stars: ✭ 30 (+50%)
Mutual labels:  kakoune
kakoune-colors
Color schemes for kakoune
Stars: ✭ 15 (-25%)
Mutual labels:  kakoune
kakoune-snippets
Snippet support for kakoune
Stars: ✭ 35 (+75%)
Mutual labels:  kakoune
smarttab.kak
Automatic handling different styles of indentation and alignment.
Stars: ✭ 52 (+160%)
Mutual labels:  kakoune
kakoune-wiki
Personal wiki plugin for Kakoune
Stars: ✭ 53 (+165%)
Mutual labels:  kakoune
kakoune-themes
Color schemes for kakoune , extra syntax highlighting and my config
Stars: ✭ 25 (+25%)
Mutual labels:  kakoune
one.kak
Atom "One" color schemes for Kakoune.
Stars: ✭ 19 (-5%)
Mutual labels:  kakoune
kakoune-ghci-bridge
Get intellisense for Haskell in Kakoune via ghci
Stars: ✭ 13 (-35%)
Mutual labels:  kakoune
Kakoune
mawww's experiment for a better code editor
Stars: ✭ 7,593 (+37865%)
Mutual labels:  kakoune
emmet-cli
Emmet command line interface
Stars: ✭ 27 (+35%)
Mutual labels:  kakoune
auto-pairs.kak
Auto-pairing of characters for Kakoune
Stars: ✭ 62 (+210%)
Mutual labels:  kakoune
powerline.kak
Kakoune modeline, but with passion
Stars: ✭ 49 (+145%)
Mutual labels:  kakoune

kakoune-extra-filetypes

This repository is a collection of Kakoune highlighters for file formats that are not supported out of the box.

Installation

The following will deploy all the highlighters to /usr/local/share/kakoune-extra-filetypes/rc by default:

# make install

Tweak the values of the DESTDIR and PREFIX variables according to your needs, e.g.:

$ make DESTDIR=/tmp/test PREFIX=/usr

Usage

If you’ve installed the extra highlighters through your distribution’s package manager, they might be stored in a directory other than the default one (c.f. above).

Autoload

The "autoload" method lets the editor load the entire collection.

If you don’t have an autoload directory already, you’ll need to create it, and make sure all the builtin scripts (provided by the Kakoune editor) are loaded:

$ mkdir -p "${XDG_CONFIG_HOME:-${HOME}/.config}"/kak/autoload
$ ln -s /usr/share/kak/rc "${XDG_CONFIG_HOME:-${HOME}/.config}"/kak/autoload

Note that your distribution might have installed the editor’s scripts in a directory that isn’t /usr/share/kak, you’ll have to modify this path according if that’s the case.

Now create an additional symbolic link in autoload that points at the extra highlighters:

$ ln -s /usr/local/share/kakoune-extra-filetypes/rc "${XDG_CONFIG_HOME:-${HOME}/.config}"/kak/autoload

Individual loading

If you don’t want to create an autoload directory, you can load all the highlighters with the following code (to append to your kakrc file):

evaluate-commands %sh{
    find "${kak_runtime}"/../kakoune-extra-filetypes/rc -type f -name \*\\.kak -exec printf 'source %s\n' '{}' \;
}

You can also individually pick which highlighters to load in your kakrc file, with the source command:

source %val{runtime}/../kakoune-extra-filetypes/rc/…
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].