summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nvim/lua/autocommands.lua2
-rw-r--r--nvim/lua/user/comment.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/nvim/lua/autocommands.lua b/nvim/lua/autocommands.lua
index ab612b0..96439e1 100644
--- a/nvim/lua/autocommands.lua
+++ b/nvim/lua/autocommands.lua
@@ -26,7 +26,7 @@ vim.api.nvim_create_autocmd({ "VimResized" }, {
vim.api.nvim_create_autocmd({ "TextYankPost" }, {
callback = function()
- vim.highlight.on_yank { higroup = "Visual", timeout = 200 }
+ vim.highlight.on_yank { higroup = "Visual", timeout = 300 }
end,
})
diff --git a/nvim/lua/user/comment.lua b/nvim/lua/user/comment.lua
index 27e8fd5..fb7eeb9 100644
--- a/nvim/lua/user/comment.lua
+++ b/nvim/lua/user/comment.lua
@@ -12,6 +12,7 @@ local M = {
}
function M.config()
+ require('Comment').setup()
pre_hook = function(ctx)
-- Only calculate commentstring for tsx filetypes
if vim.bo.filetype == "typescriptreact" then