Commit graph

36 commits

Author SHA1 Message Date
Matt Sturgeon
25eed3c2f5
plugins/filetrees: normalize plugin defaults 2024-06-21 08:48:00 +01:00
Matt Sturgeon
d136c08f3a
plugins: normalise null plugin-defaults
Replaced all instances of `"null"` with `null`, when passing
plugin-defaults to `defaultNullOpts` functions.
2024-06-02 03:18:10 +01:00
Gaetan Lepage
26367692da lib/options: rename mkPackageOption to mkPluginPackageOption 2024-05-17 22:15:47 +02:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Bor Hodošček
99068dab4b
plugins/filetrees/neo-tree: remove deprecated lib.mdDoc call (#1415) 2024-04-15 09:54:55 +02:00
Christian Kemper
f6e79601ad
plugins/lazy.nvim: new plugin manager (#1175) 2024-03-08 21:13:30 +01:00
Loïc Reynier
233feeb8d2
treewide: fix typos (#1217) 2024-03-07 19:44:13 +01:00
Gaetan Lepage
e2c3459d1d lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions 2024-01-28 23:39:14 +01: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
af41ea2d80
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the
documentation.
2024-01-01 23:33:53 +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
dbcd314708 plugins: use LogLevel where possible 2023-12-22 14:48:15 +01:00
Gaetan Lepage
290855ed3d plugins: use mkSeverity where possible 2023-12-22 14:48:15 +01:00
Gaetan Lepage
d8cffe2ead plugins: remove mkCompositeOptions from implementation 2023-12-13 10:39:28 +01:00
Gaetan Lepage
3da7758bc0 plugins/neo-tree: cleaning 2023-11-23 21:36:53 +01:00
Gaetan Lepage
19f39c3b1b plugins: swith to the new behaviour of mkRaw 2023-11-23 11:39:41 +01:00
André Vitor de Lima Matos
796e7391ce
plugins/neo-tree: add window.mappings to document_symbol (#716) 2023-11-22 14:30:45 +01:00
oddlama
5be1867dd1
plugins/neo-tree: per-source window mappings had two table layers called "mappings" (#725) 2023-11-22 11:23:27 +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
Gaetan Lepage
0d8da0fcfb plugins/nvim-tree: fix option types 2023-10-21 19:53:01 +02:00
municorn
934bf7e2e3
fix(helpers): use "__unkeyed" prefix instead of "@" in toLuaObject (#632) 2023-10-09 15:50:21 +02:00
Shayan Rashid
a0c35acab5
nvim-tree: remove deprecated 'hideRootFolder' option (#623)
* nvim-tree: remove deprecated 'hideRootFolder' option

also adds missing option to specify boolean for 'rootFolderLabel'

* nvim-tree: marks 'hideRootFolder' as deprecated
2023-10-05 21:26:24 +02:00
Gaetan Lepage
6152cc9504 misc: fix statix errors 2023-09-18 23:41:56 +02:00
Adithya Nair
1319a89ac2 plugins/neo-tree: fix incorrect option - filtered_items 2023-08-27 23:40:53 +02:00
Gaetan Lepage
24350879b1 lib/helpers: remove useless ifNonNull 2023-08-23 11:12:50 +02: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
Gaetan Lepage
718512f098 plugins/neo-tree: adapt to latest upstream changes 2023-08-06 16:41:22 +02:00
Antonín Říha
0d2a436255
plugins/chadtree: init + test (#475)
* plugins/chadtre: init + test

* Update tests/test-sources/plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Removed with helpers

* Update tests/test-sources/plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* retrigger checks

* Update tests/test-sources/plugins/filetrees/chadtree.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-07-12 22:03:09 +02:00
Gaetan Lepage
be6a29c800 misc: fix documentation generation 2023-06-26 09:18:01 +02:00
Tanish2002
efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Gaetan Lepage
2da04fa4ad misc: remove deprecated/renamed options warnings 2023-05-20 22:52:47 +02:00
Gaétan Lepage
c1a46a8360
plugins/nvim-tree: fix onAttach option (#364) 2023-05-14 11:44:06 +02:00
Gaetan Lepage
b77e3e9ccb plugins/neo-tree: add documentSymbols options 2023-05-12 14:47:28 +02:00
Gaetan Lepage
cc21669583 plugins/neo-tree: rename tabLabels option to reflect upstream change 2023-05-12 14:47:28 +02:00
Gaetan Lepage
67ef20a223 plugins/nvim-tree: remove deprecated option view.mappings 2023-04-24 10:53:06 +02:00
Gaétan Lepage
301d1a4072
plugins/{nvim-tree,neo-tree}: move from utils to filetrees (#304) 2023-03-31 10:26:56 +02:00