mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-10 01:59:49 +01:00
Compare commits
No commits in common. "ebe0d6c9603f4b48943fadb0da1e3f5b68cdce7c" and "bba0ba92a6112f74d21a634860846c7a6356b1c6" have entirely different histories.
ebe0d6c960
...
bba0ba92a6
2 changed files with 8 additions and 17 deletions
|
@ -149,10 +149,3 @@ vim.api.nvim_set_keymap('n', '<leader>a', ':lua camelToSnake()<CR>', { noremap =
|
|||
|
||||
- Added [`vim.extraPackages`](vim.extraPackages) for appending additional packages to the wrapper PATH, making said packages available
|
||||
while inside the Neovim session.
|
||||
|
||||
- Made treesitter options configurable, and moved `treesitter-context to
|
||||
`setupOpts` while it is enabled.
|
||||
|
||||
- Added `vim.notify.nvim-notify.setupOpts.render` which takes either a string of enum or
|
||||
a lua function. The default is "compact", but you may change it according to
|
||||
nvim-notify documentation.
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
{lib, ...}: let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.options) mkEnableOption mkOption;
|
||||
inherit (lib.modules) mkRenamedOptionModule;
|
||||
inherit (lib.types) int str enum attrsOf either;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption luaInline;
|
||||
inherit (lib.types) int str enum attrsOf;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
in {
|
||||
imports = let
|
||||
renamedSetupOpt = name:
|
||||
|
@ -21,12 +25,6 @@ in {
|
|||
enable = mkEnableOption "nvim-notify notifications";
|
||||
|
||||
setupOpts = mkPluginSetupOption "nvim-notify" {
|
||||
render = mkOption {
|
||||
type = either (enum ["default" "minimal" "simple" "compact" "wrapped-compact"]) luaInline;
|
||||
default = "compact";
|
||||
description = "Custom rendering method to be used for displaying notifications";
|
||||
};
|
||||
|
||||
stages = mkOption {
|
||||
type = enum ["fade_in_slide_out" "fade_in" "slide_out" "none"];
|
||||
default = "fade_in_slide_out";
|
||||
|
@ -59,7 +57,7 @@ in {
|
|||
WARN = "";
|
||||
INFO = "";
|
||||
DEBUG = "";
|
||||
TRACE = "";
|
||||
TRACE = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue