Commit graph

36 commits

Author SHA1 Message Date
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
Alejandro Pinar Ruiz
db6b61f117 Fix typo 2024-03-31 14:41:35 +02:00
Matt Sturgeon
4f83bcf290
Rename options to avoid confusion with module options (#1324) 2024-03-29 21:58:44 +01:00
Gaetan Lepage
e2c3459d1d lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions 2024-01-28 23:39:14 +01:00
Gaetan Lepage
0e52776433 plugins/bufferline: use nixvimTypes.highlight 2024-01-02 00:14:32 +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
d8cffe2ead plugins: remove mkCompositeOptions from implementation 2023-12-13 10:39:28 +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
Gaetan Lepage
288e46e2d8 plugins/bufferline: add missing highlight groups 2023-09-19 14:29:40 +02:00
siph
7ad1288fdd bufferline: add new tab styles 2023-06-01 17:29:38 +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
d40db46d7f
plugins/bufferline: add TODO to remove warnings (#318) 2023-04-05 13:40:05 +02:00
Gaétan Lepage
90d14f97d4
plugins/bufferline: fix deprecated highlight options (#313) 2023-04-04 14:23:48 +02:00
Gaétan Lepage
cbf6c56385
plugins/bufferline: refactor + tests (#283) 2023-03-31 17:06:27 +02:00
Gaétan Lepage
e439cb79df
plugins/{telescope,bufferline}: make use of helpers.extraOptionsOptions (#212) 2023-03-01 22:57:19 +01:00
Shayan Rashid
497adab94b
plugins/bufferline: fix typo in 'error_diagnostic' (#218) 2023-03-01 21:30:05 +01:00
Gaétan Lepage
264de8cefb
added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +00:00
LightQuantum
7ccb2b0608
utils: fix #129
* wrappers: fix missing variable

* bufferline: fix type error if indicator is null
2023-02-14 19:51:56 +00:00
Alexander Nortung
e5ef91be0b
bufferline: fixed default (#152)
* bufferline: fixed default

* bufferline: fixed default for highlights
2023-02-14 19:49:19 +00:00
Pedro Alves
8ef6945e75 bufferline: fix 2023-01-28 14:55:00 +00:00
Gaétan Lepage
c73bef16ab
helpers: add mkPackageOption + refactoring (#144) (#150) 2023-01-25 18:46:49 +00:00
Pedro Alves
2d54272177
Revert "helpers: add mkPackageOption + refactoring (#144)" (#149)
This reverts commit b724085447.
2023-01-25 00:03:26 +00:00
Gaétan Lepage
b724085447
helpers: add mkPackageOption + refactoring (#144) 2023-01-24 23:59:06 +00:00
Alexander Nortung
63c256dc3d
core: show warnings for deprecated or changed options (#129)
* moved helpers to lib folder

* Created proxy file for helpers.nix

* wrappers: removed code duplication

* null-ls: fix wrong name of variable

* added warnings module

* Added assertions

* bufferline: deprecated option

* nvim-tree: renamed options

* Fixed mkRenamedOption

* Bufferline: added new options

* Fixed deprecated option

Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-24 01:28:01 +00:00
Pedro Alves
238f0c590e misc: fix mkEnableOption descriptions 2023-01-22 03:32:08 +00:00
Gaétan Lepage
3c918cfc92
misc: remove trailing whitespaces (#121)
Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-21 17:12:09 +00:00
Alexander Nortung
d2f714c40e
bufferline: refactor - added package and extraOptions options. (#126) 2023-01-19 20:39:37 +00:00
Pedro Alves
4ddd3969e5
nixvim: support standalone nixvim
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.

The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.

For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
2022-09-18 11:19:23 +01:00
Pedro Alves
031d6509d7 bufferline: fix highlights being undefined 2022-01-01 15:12:48 +00:00
Builditluc
1562144db5 bufferline: change options 2021-11-26 11:10:17 +00:00
Builditluc
7227a5b429 bufferline: add options 2021-11-26 11:10:17 +00:00
Builditluc
7ee154e70a bufferline: add bufferline plugin 2021-11-26 11:10:17 +00:00