add comment tool

main
maye 2025-05-21 15:47:26 +08:00
parent a176347ba9
commit 2f7f5126f3
3 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"blink.cmp": { "branch": "main", "commit": "022521a8910a5543b0251b21c9e1a1e989745796" },
"conform.nvim": { "branch": "master", "commit": "a4bb5d6c4ae6f32ab13114e62e70669fa67745b9" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },

View File

@ -1,2 +1,2 @@
local map = vim.keymap.set
map("n", "<leader>s", ":w<CR>", {})
map("n", "<leader>s", ":w<CR>", {})

5
lua/plugins/comment.lua Normal file
View File

@ -0,0 +1,5 @@
return {
"numToStr/Comment.nvim",
event = { "InsertEnter" },
opts = {},
}