diff --git a/after/plugin/comment.lua b/after/plugin/comment.lua new file mode 100644 index 0000000..08fb785 --- /dev/null +++ b/after/plugin/comment.lua @@ -0,0 +1,26 @@ +local comment = require("Comment") + +comment.setup({ + padding = true, + sticky = true, + ignore = nil, + toggler = { + line = 'gcc', + block = 'gbc', + }, + opleader = { + line = 'gc', + block = 'gb', + }, + extra = { + above = 'gcO', + below = 'gco', + eol = 'gcA', + }, + mappings = { + basic = true, + extra = true, + }, + pre_hook = nil, + post_hook = nil, +}) diff --git a/after/plugin/nvimcord.lua b/after/plugin/nvimcord.lua index 2e3f9ee..11be8e2 100644 --- a/after/plugin/nvimcord.lua +++ b/after/plugin/nvimcord.lua @@ -1,6 +1,6 @@ require('nvimcord').setup { - autostart = false, - client_id = '1088133821985210408', + autostart = true, + client_id = '954365489214291979', large_file_icon = true, log_level = vim.log.levels.DEBUG, workspace_name = function() diff --git a/lua/taken/packer.lua b/lua/taken/packer.lua index 873db25..bd83970 100644 --- a/lua/taken/packer.lua +++ b/lua/taken/packer.lua @@ -72,6 +72,17 @@ return require('packer').startup(function(use) use({ "iamcco/markdown-preview.nvim", run = function() vim.fn["mkdp#util#install"]() end, + config = function () + vim.cmd [[ + let g:mkdp_auto_close = 0 + let g:mkdp_theme = 'dark' + ]] + end }) use 'ObserverOfTime/nvimcord' + use { + 'numToStr/Comment.nvim', + config = function() + end + } end)