From ab111b9fb99b5a65ff2e0ba05a3a34bb782e5fb8 Mon Sep 17 00:00:00 2001 From: Valeriy Filippov Date: Thu, 2 Apr 2026 18:15:32 +0300 Subject: [PATCH] nvim: fix commentstring error --- nvim/lua/plugins/comment.lua | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/nvim/lua/plugins/comment.lua b/nvim/lua/plugins/comment.lua index 9d8ee61..20ae893 100644 --- a/nvim/lua/plugins/comment.lua +++ b/nvim/lua/plugins/comment.lua @@ -2,19 +2,19 @@ return { "numToStr/Comment.nvim", event = { "BufReadPre", "BufNewFile" }, - dependencies = { - "JoosepAlviste/nvim-ts-context-commentstring", - }, - config = function() - -- import comment plugin safely - local comment = require("Comment") - - local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim") - - -- enable comment - comment.setup({ - -- for commenting tsx, jsx, svelte, html files - pre_hook = ts_context_commentstring.create_pre_hook(), - }) - end, + -- dependencies = { + -- "JoosepAlviste/nvim-ts-context-commentstring", + -- }, + -- config = function() + -- -- import comment plugin safely + -- local comment = require("Comment") + -- + -- local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim") + -- + -- -- enable comment + -- comment.setup({ + -- -- for commenting tsx, jsx, svelte, html files + -- pre_hook = ts_context_commentstring.create_pre_hook(), + -- }) + -- end, }