mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
feat: deprecate kommentary
This commit is contained in:
parent
5941502e37
commit
008ea23033
3 changed files with 0 additions and 25 deletions
|
@ -190,7 +190,6 @@ inputs: let
|
|||
|
||||
vim.comments = {
|
||||
comment-nvim.enable = true;
|
||||
kommentary. enable = false;
|
||||
};
|
||||
|
||||
vim.presence = {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
_: {
|
||||
imports = [
|
||||
./comment-nvim
|
||||
./kommentary.nix # WARNING: WILL BE REMOVED IN THE NEXT MAJOR RELEASE
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with builtins; let
|
||||
cfg = config.vim.comments.kommentary;
|
||||
in {
|
||||
options.vim.comments.kommentary = {
|
||||
enable = mkEnableOption "Enable kommentary";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
vim.startPlugins = [
|
||||
"kommentary"
|
||||
];
|
||||
|
||||
vim.luaConfigRC.kommentary = nvim.dag.entryAnywhere ''
|
||||
require('kommentary.config').use_extended_mappings()
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue