mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-17 15:49:07 +00:00
Compare commits
No commits in common. "d91df07c7bb817da7278097df33b4d67a61be310" and "4045c458dc3e3eaabbb94518a857651cff341542" have entirely different histories.
d91df07c7b
...
4045c458dc
9 changed files with 6 additions and 72 deletions
|
|
@ -340,12 +340,7 @@
|
||||||
- Add missing `flutter-tools.nvim` dependency `plenary.nvim`.
|
- Add missing `flutter-tools.nvim` dependency `plenary.nvim`.
|
||||||
- Add necessary dependency of `flutter-tools.nvim` on lsp.
|
- Add necessary dependency of `flutter-tools.nvim` on lsp.
|
||||||
- Add the `vim.languages.dart.flutter-tools.flutterPackage` option.
|
- Add the `vim.languages.dart.flutter-tools.flutterPackage` option.
|
||||||
- Fix the type of the `highlight` color options.
|
|
||||||
|
|
||||||
[howird](https://github.com/howird):
|
[howird](https://github.com/howird):
|
||||||
|
|
||||||
- Change python dap adapter name from `python` to commonly expected `debugpy`.
|
- Change python dap adapter name from `python` to commonly expected `debugpy`.
|
||||||
|
|
||||||
[aionoid](https://github.com/aionoid):
|
|
||||||
|
|
||||||
- Fix [render-markdown.nvim] file_types option type to list, to accept merging.
|
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,15 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.options) mkOption;
|
inherit (lib.options) mkOption;
|
||||||
inherit (lib.types) nullOr attrsOf listOf submodule bool ints str enum;
|
inherit (lib.types) nullOr attrsOf listOf submodule bool ints str enum;
|
||||||
inherit (lib.strings) concatLines;
|
inherit (lib.strings) hasPrefix concatLines;
|
||||||
inherit (lib.attrsets) mapAttrsToList;
|
inherit (lib.attrsets) mapAttrsToList;
|
||||||
inherit (lib.nvim.dag) entryBetween;
|
inherit (lib.nvim.dag) entryBetween;
|
||||||
inherit (lib.nvim.lua) toLuaObject;
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
|
inherit (lib.nvim.types) hexColor;
|
||||||
|
|
||||||
mkColorOption = target:
|
mkColorOption = target:
|
||||||
mkOption {
|
mkOption {
|
||||||
type = nullOr str;
|
type = nullOr hexColor;
|
||||||
default = null;
|
default = null;
|
||||||
example = "#ebdbb2";
|
example = "#ebdbb2";
|
||||||
description = ''
|
description = ''
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
inherit (lib.modules) mkIf mkMerge;
|
inherit (lib.modules) mkIf mkMerge;
|
||||||
inherit (lib.options) mkEnableOption mkOption;
|
inherit (lib.options) mkEnableOption mkOption;
|
||||||
inherit (lib.lists) isList;
|
inherit (lib.lists) isList;
|
||||||
inherit (lib.types) bool enum either package listOf str nullOr;
|
inherit (lib.types) bool enum either package listOf str;
|
||||||
inherit (lib.nvim.lua) expToLua toLuaObject;
|
inherit (lib.nvim.lua) expToLua toLuaObject;
|
||||||
inherit (lib.nvim.types) diagnostics mkGrammarOption mkPluginSetupOption;
|
inherit (lib.nvim.types) diagnostics mkGrammarOption mkPluginSetupOption;
|
||||||
inherit (lib.nvim.dag) entryAnywhere;
|
inherit (lib.nvim.dag) entryAnywhere;
|
||||||
|
|
@ -117,18 +117,7 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
setupOpts = mkPluginSetupOption "render-markdown" {
|
setupOpts = mkPluginSetupOption "render-markdown" {};
|
||||||
file_types = lib.mkOption {
|
|
||||||
type = nullOr (listOf str);
|
|
||||||
default = null;
|
|
||||||
description = ''
|
|
||||||
List of buffer filetypes to enable this plugin in.
|
|
||||||
|
|
||||||
This will cause the plugin to attach to new buffers who
|
|
||||||
have any of these filetypes.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
dap.configurations.python = {
|
dap.configurations.debugpy = {
|
||||||
{
|
{
|
||||||
-- The first three options are required by nvim-dap
|
-- The first three options are required by nvim-dap
|
||||||
type = 'debugpy'; -- the type here established the link to the adapter definition: `dap.adapters.debugpy`
|
type = 'debugpy'; -- the type here established the link to the adapter definition: `dap.adapters.debugpy`
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (lib.modules) mkIf;
|
|
||||||
inherit (lib.nvim.dag) entryAnywhere;
|
|
||||||
inherit (lib.nvim.lua) toLuaObject;
|
|
||||||
|
|
||||||
cfg = config.vim.mini.cursorword;
|
|
||||||
in {
|
|
||||||
vim = mkIf cfg.enable {
|
|
||||||
startPlugins = ["mini-cursorword"];
|
|
||||||
|
|
||||||
pluginRC.mini-ai = entryAnywhere ''
|
|
||||||
require("mini.cursorword").setup(${toLuaObject cfg.setupOpts})
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
{lib, ...}: let
|
|
||||||
inherit (lib.options) mkEnableOption;
|
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
|
||||||
in {
|
|
||||||
options.vim.mini.cursorword = {
|
|
||||||
enable = mkEnableOption "mini.cursorword";
|
|
||||||
setupOpts = mkPluginSetupOption "mini.cursorword" {};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./cursorword.nix
|
|
||||||
./config.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
./colors
|
./colors
|
||||||
./comment
|
./comment
|
||||||
./completion
|
./completion
|
||||||
./cursorword
|
|
||||||
./diff
|
./diff
|
||||||
./doc
|
./doc
|
||||||
./extra
|
./extra
|
||||||
|
|
|
||||||
|
|
@ -1020,22 +1020,6 @@
|
||||||
"url": "https://github.com/echasnovski/mini.completion/archive/35130cebc63ace7d6e4583f349af8cd3f3141af7.tar.gz",
|
"url": "https://github.com/echasnovski/mini.completion/archive/35130cebc63ace7d6e4583f349af8cd3f3141af7.tar.gz",
|
||||||
"hash": "0h5z5i62cc780bzw60rbizngvpyl4vk7j858pndyi2g572plz929"
|
"hash": "0h5z5i62cc780bzw60rbizngvpyl4vk7j858pndyi2g572plz929"
|
||||||
},
|
},
|
||||||
"mini-cursorword": {
|
|
||||||
"type": "GitRelease",
|
|
||||||
"repository": {
|
|
||||||
"type": "GitHub",
|
|
||||||
"owner": "echasnovski",
|
|
||||||
"repo": "mini.cursorword"
|
|
||||||
},
|
|
||||||
"pre_releases": false,
|
|
||||||
"version_upper_bound": null,
|
|
||||||
"release_prefix": null,
|
|
||||||
"submodules": false,
|
|
||||||
"version": "v0.15.0",
|
|
||||||
"revision": "6683f04509c380e3147cca368f90bbdb99641775",
|
|
||||||
"url": "https://api.github.com/repos/echasnovski/mini.cursorword/tarball/v0.15.0",
|
|
||||||
"hash": "0vqr4hkzq13ap6giyyp8asn5g6nnm406piq1a07a5nmkfxiskp9v"
|
|
||||||
},
|
|
||||||
"mini-diff": {
|
"mini-diff": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue