Added comment.nvim

This commit is contained in:
Michael Housh
2023-10-02 21:41:30 -04:00
parent f643b45432
commit f0a5d85dea
4 changed files with 18 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
return {
'numToStr/Comment.nvim',
opts = {
-- add any options here
},
lazy = false,
}

View File

@@ -40,6 +40,7 @@ require("lazy").setup({
{ import = 'user.plugin.telescope' },
-- Utilities --
{ import = 'user.plugin.comment' },
{ import = 'user.plugin.noice' },
{ import = 'user.plugin.swift' },
{ import = 'user.plugin.toggleterm' },

View File

@@ -4,8 +4,8 @@ local fn = vim.fn
vim.cmd.set('inccommand=split')
o.updatetime = 300 -- faster completion
o.timeoutlen = 400 -- time to wait for a mapped sequence to complete (in milliseconds)
o.ttimeoutlen = 0 -- Time in milliseconds to wait for a key code sequence to complete
o.timeoutlen = 500 -- time to wait for a mapped sequence to complete (in milliseconds)
o.ttimeoutlen = 50 -- Time in milliseconds to wait for a key code sequence to complete
o.backup = false -- creates a backup file
o.swapfile = false -- enable/disable swap file creation
o.dir = fn.stdpath("data") .. "/swp" -- swap file directory