nvim-config/lua/user/comment.lua
2023-07-14 17:40:38 +03:00

9 lines
201 B
Lua

local status_ok, comment = pcall(require, "Comment")
if not status_ok then
return
end
comment.setup {
pre_hook = require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook(),
}