scorpio 10 månader sedan
förälder
incheckning
4f53408496
2 ändrade filer med 13 tillägg och 0 borttagningar
  1. 1 0
      lazy-lock.json
  2. 12 0
      lua/plugins/mini-comment.lua

+ 1 - 0
lazy-lock.json

@@ -19,6 +19,7 @@
   "mason-lspconfig.nvim": { "branch": "main", "commit": "9453e3d6cd2ca45d96e20f343e8f1b927364b630" },
   "mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" },
   "mini.animate": { "branch": "main", "commit": "6cec625114007527ff8a82316dba858046f9746f" },
+  "mini.comment": { "branch": "main", "commit": "67f00d3ebbeae15e84584d971d0c32aad4f4f3a4" },
   "mini.indentscope": { "branch": "main", "commit": "5a8369475cd7cd6f207a4d288406d03b0fc48bdb" },
   "mini.pairs": { "branch": "main", "commit": "552062017ff207e1f35f7028bfb3f27c7421d22d" },
   "neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" },

+ 12 - 0
lua/plugins/mini-comment.lua

@@ -0,0 +1,12 @@
+return {
+  {
+     'echasnovski/mini.comment', version = false,
+    opts = {
+      options = {
+        custom_commentstring = function()
+          return require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring
+        end
+      }
+    }
+  }
+}