mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
Added comment.nvim
This commit is contained in:
7
nvim/m-housh/lua/user/plugin/comment.lua
Normal file
7
nvim/m-housh/lua/user/plugin/comment.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
'numToStr/Comment.nvim',
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
lazy = false,
|
||||
}
|
||||
@@ -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' },
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user