Skip to content

Commit 07d82e6

Browse files
committed
replace vim-commentary -> comment.nvim
1 parent f5099c8 commit 07d82e6

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

modules/home-manager/nvim/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ in {
123123
# share vim plugins since nothing is specific to nvim
124124
plugins = with pkgs.vimPlugins; [
125125
# basics
126-
vim-sensible
126+
comment-nvim
127+
nvim-autopairs
127128
vim-fugitive
128-
vim-sandwich
129-
vim-commentary
130129
vim-nix
131-
nvim-autopairs
130+
vim-sandwich
131+
vim-sensible
132132

133133
# configurable plugins
134134
lazy-nix-helper-nvim

modules/home-manager/nvim/lua/plugins/default.lua

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ return {
3434
},
3535
},
3636
},
37+
{
38+
"numToStr/Comment.nvim",
39+
opts = {},
40+
dir = require("lazy-nix-helper").get_plugin_path("comment.nvim"),
41+
},
3742
{
3843
"nvim-tree/nvim-tree.lua",
3944
opts = {
@@ -86,8 +91,9 @@ return {
8691
dir = require("lazy-nix-helper").get_plugin_path("vim-fugitive"),
8792
},
8893
{
89-
"tpope/vim-commentary",
90-
dir = require("lazy-nix-helper").get_plugin_path("vim-commentary"),
94+
"numToStr/Comment.nvim",
95+
opts = {},
96+
dir = require("lazy-nix-helper").get_plugin_path("comment-nvim"),
9197
},
9298
{
9399
"machakann/vim-sandwich",

0 commit comments

Comments
 (0)