summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorJason Felice <jason.m.felice@gmail.com>2019-06-07 11:18:32 -0400
committerJason Felice <jason.m.felice@gmail.com>2019-06-25 17:17:08 -0400
commit2a911454d349656e6140dcf919d1907c250d727a (patch)
treee5c81df1c85e4835862c0886b7e6975110bd9377 /doc
parent3297873118c2e0635d5fae9298cda329515095c1 (diff)
downloadnixpkgs-2a911454d349656e6140dcf919d1907c250d727a.tar
nixpkgs-2a911454d349656e6140dcf919d1907c250d727a.tar.gz
nixpkgs-2a911454d349656e6140dcf919d1907c250d727a.tar.bz2
nixpkgs-2a911454d349656e6140dcf919d1907c250d727a.tar.lz
nixpkgs-2a911454d349656e6140dcf919d1907c250d727a.tar.xz
nixpkgs-2a911454d349656e6140dcf919d1907c250d727a.tar.zst
nixpkgs-2a911454d349656e6140dcf919d1907c250d727a.zip
kakoune: support for adding plugins
Motivation: There is a thriving plugin ecosystem for Kakoune now,
and it is nice to add these in our Nix configurations. This was modeled
on neovim's plugins.

parinfer-rust is useable both standalone and as a Kakoune plugin,
so the plugin file inherits the same definition as pkgs.

I'll make PRs for other plugins if this gets accepted.
[Here](https://github.com/eraserhd/nixpkgs/tree/kak-ansi)'s a tested
branch for the `kak-ansi` plugin.
Diffstat (limited to 'doc')
-rw-r--r--doc/package-notes.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/package-notes.xml b/doc/package-notes.xml
index 2b7b4b9bc51..d2c660e22a9 100644
--- a/doc/package-notes.xml
+++ b/doc/package-notes.xml
@@ -325,6 +325,18 @@ packageOverrides = pkgs: {
    elm2nix</link>.
   </para>
  </section>
+ <section xml:id="sec-kakoune">
+  <title>Kakoune</title>
+
+  <para>
+   Kakoune can be built to autoload plugins:
+<programlisting>(kakoune.override {
+  configure = {
+    plugins = with pkgs.kakounePlugins; [ parinfer-rust ];
+  };
+})</programlisting>
+  </para>
+ </section>
  <section xml:id="sec-shell-helpers">
   <title>Interactive shell helpers</title>