Commit graph

13 commits

Author SHA1 Message Date
Matt Sturgeon
6ab2a39e6a
plugins/utils: normalize plugin defaults 2024-06-21 08:49:09 +01:00
Michael Thomas
db93efffdb plugins/toggleterm: allow lua functions in float_opts keys which support them 2024-06-14 09:05:24 +02:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Gaetan Lepage
c068f78dcd plugins/toggleterm: switch to mkNeovimPlugin 2024-04-13 11:00:19 +02:00
traxys
8aa4b7e4ce
helpers: Add option helpers for types that are either a lua str or a value (#876)
Those types needed the following code in apply:

if builtins.isString value
then mkRaw value
else value

This commit avoids this boilerplate, and clarifies that the `str` is lua
code in the documentation.
2024-01-02 00:30:10 +01:00
traxys
1d8e7906c9
plugins: Introduce helpers.defaultNullOpts.mkLuaFn (#855)
This allows to avoid calling `mkRaw` on lua functions, as they will get
applied automatically.

This could also help in the future to refactor the use of Lua code to
make it more user-friendly.
2023-12-29 15:24:42 +01:00
Gaetan Lepage
19f39c3b1b plugins: swith to the new behaviour of mkRaw 2023-11-23 11:39:41 +01:00
Gaetan Lepage
b6724702b4 misc: refactor imports, prefer adding helpers to args rather than importing it 2023-11-06 16:33:39 +01:00
Wolbyte
ecd593386f
docs: New documentation using mdbook (#471)
* docs: mdbook init

* Separate sub-options into their section

* docs: enable fold

* docs: merge core options into a single section

* doc generation: fix submodules index pages

* docs: add contributing section

* docs: rename 'core' group to 'Neovim Options'

docs: removed the index pages of empty sections

docs: remove obsolete 'mergeFunctionResults' function

* docs: use nix syntax highlighting

* docs: point to the new repo url

* docs: use recursive generation
docs: split submodules into subsections

* docs: fix contributing separator
docs: fix missing submodules docs
2023-08-07 11:48:01 +02:00
Wolbyte
600cd12057 helpers.defaultNullOpts: add mkBorder 2023-06-26 14:01:18 +02:00
Gaetan Lepage
f43505d54f plugins/toggleterm: change some options default + formatting 2023-06-22 14:22:02 +02:00
Gaetan Lepage
1a8bd3bdc1 plugins/toggleterm: fix openMapping and documentation bug 2023-06-22 10:54:11 +02:00
Tanish2002
15b821db10 plugins/toggleterm: init + test 2023-06-22 09:04:34 +02:00