Commit graph

61 commits

Author SHA1 Message Date
Matt Sturgeon
848246bc64
plugins/telescope/media-files: use mkPackageOption for dependencies 2024-09-04 21:56:49 +01:00
Matt Sturgeon
2132702a47
plugins: use mkPackageOption for iconsPackage options 2024-09-04 21:56:48 +01:00
Matt Sturgeon
dfb754cdc4
plugins/telescope/extensions: use lib.mkPackageOption 2024-09-04 03:29:35 +01:00
Matt Sturgeon
1fd4b6c739
plugins: migrate defaultPackage -> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +01:00
Matt Sturgeon
18b7597e6c
lib/neovim-plugin: drop config arg 2024-09-02 10:35:52 +01:00
Austin Horstman
56208f9e3f
plugins/telescope: add iconsPackage 2024-08-30 15:13:19 -05:00
Matt Sturgeon
1181535e34
plugins/lsp/extensions: remove with lib + fix mkRaw reference
See https://github.com/nix-community/nixvim/pull/2053#issuecomment-2307961673
2024-08-24 01:55:49 +01:00
Austin Horstman
83c2844bec
plugins/telescope: migrate helpers -> lib.nixvim 2024-08-22 08:10:31 -05:00
Stanislav Asunkin
532b0044d0 plugins/telescope: add compatibility with combinePlugins 2024-07-24 16:50:50 +02:00
Stanislav Asunkin
5c75cfac13 plugins/telescope/fzy-native: add compatibility with combinePlugins 2024-07-24 16:50:50 +02:00
Stanislav Asunkin
61caa52fc5 plugins/telescope/fzf-native: add compatibility with combinePlugins 2024-07-24 16:50:50 +02:00
Gaetan Lepage
0d95fc6888 plugins/telescope/extensions/undo: deprecate option diff_context_lines 2024-07-14 00:05:32 +02:00
Matt Sturgeon
66b23fff80
plugins/telescope: normalize plugin defaults 2024-06-21 08:49:09 +01:00
Gaetan Lepage
7a2d065cce misc: ensure all options have a description 2024-06-11 11:34:10 +02:00
Matt Sturgeon
56d39f54fe
plugins/telescope: remove redundant keymapsSilent option 2024-05-28 20:40:45 +01:00
Matt Sturgeon
bc0db2751c
plugins/telescope: support non-builtin keymaps
Use the `:Telescope` command instead of relying directly on
`require("telescope.builtin")`.
2024-05-28 20:40:29 +01:00
Matt Sturgeon
2494e0af08
plugins/telescope: make enabledExtensions public
Allow users to add telescope extensions we don't support yet.
2024-05-25 20:37:51 +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
Gaetan Lepage
f4018967d4 plugins/telescope/extensions/media-files: add rename warnings 2024-04-13 11:49:49 +02:00
Gaetan Lepage
b38f24f348 plugins/telescope: refactor extensions 2024-04-07 20:40:36 +02:00
Gaetan Lepage
3c0951ebc8 plugins/telescope: switch to mkNeovimPlugin 2024-04-07 20:40:36 +02:00
Austin Horstman
29b6ede12f
plugins/utils/project-nvim: take ownership of telescope integration (#1236) 2024-03-13 14:43:39 +01:00
Loïc Reynier
233feeb8d2
treewide: fix typos (#1217) 2024-03-07 19:44:13 +01:00
Gaetan Lepage
2294a12b0b keymaps: use 'action.__raw' instead of 'lua = true' internally 2024-02-03 18:12:25 +01:00
Gaetan Lepage
37d124e946 plugins/telescope: add ui-select extension 2024-01-29 15:45:42 +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
81d103b69b plugins/telescope: mark internal options as such 2023-12-20 18:51:17 +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
Haseeb Majid
77a3f3c298
refactor undo to newer style (#677)
Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
2023-10-31 15:10:08 +01:00
Haseeb Majid
520a59668d
plugins/telescope.extensions.undo: init + (#654)
* new plugin

* add content

* add content

* Update plugins/telescope/undo.nix

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

* Update plugins/telescope/undo.nix

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

* add test

* Update plugins/telescope/undo.nix

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

* fix per pr comments

* fix per pr comments

* fix per pr comments

---------

Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-10-25 23:08:23 +02:00
municorn
3fd743fe80 docs: fix grammar, spelling, and text for enable options 2023-10-09 15:04:57 +02:00
Gaetan Lepage
dd6a114e52 plugins/misc: adapt to new maps options 2023-10-02 15:23:54 +02:00
Gaetan Lepage
6152f77a63 plugins/telescope: allow key mappings to be attrs 2023-07-21 09:39:10 +02:00
Wolbyte
341eb9d094 plugins/telescope.file_browser: init
plugins/telescope.file_browser: improve formatting

plugins/telescope.file_browser: improve docs
2023-07-03 00:17:40 +02:00
Tanish2002
efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Gaétan Lepage
e439cb79df
plugins/{telescope,bufferline}: make use of helpers.extraOptionsOptions (#212) 2023-03-01 22:57:19 +01:00
Gaétan Lepage
f6c00a8ea5
plugins/telescope: add keymaps and keymapsSilent options (#179) 2023-02-23 10:14:10 +01:00
Gaétan Lepage
264de8cefb
added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +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
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
Pedro Alves
11da3bfbc1 fix several broken options 2023-01-19 16:02:40 +00:00
Alexander Nortung
3f9effc575
general: add package options (#127)
* barbar: package option

* Base16: package option

* gruvbox: package option

* nord: package option

* one: package option

* onedark: package option

* tokyonight: package option

* nvim-cmp: package option

* coq: package option

* lspkind: package option

* helpers: added package option to mkPlugin

* fugitive: package option

* gitgutter: package option

* gitsigns: package option

* neogit: package option

* ledger: package option

* nix: package option

* plantuml-syntax: package option

* treesitter-context: package option + formatting

* treesitter-refactor: package option + formatting

* treesitter: package option

* zig: package option

* null-ls: package option

* null-ls/servers: package option

* lsp-lines: package option

* lspsaga: package option

* trouble: package option

* luasnip: added description for package option

* airline: package option

* lightline: package option

* lualine: package option

* telescope: package option

* telescope/frecency: package option

* telescope/fzf-native: package option

* telescope/media-files: package option

* comment-nvim: package option

* vim-commentary: package option

* dashboard: package option

* easyescape: package option

* emmet: package option

* endwise: package option

* floaterm: package option

* goyo: package option

* intellitab: package option

* mark-radar: package option

* notify: package option

* nvim-autopairs: package option

* nvim-tree: package option

* project-nvim: package option

* specs: package option

* startify: package option

* surround: package option

* undotree: package option
2023-01-19 10:45:15 +00:00