Adding plugins and updating configs

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-06-17 22:02:52 +02:00
parent 70ffac691d
commit 2a530bfbd6
3 changed files with 39 additions and 2 deletions

26
after/plugin/comment.lua Normal file
View File

@@ -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,
})

View File

@@ -1,6 +1,6 @@
require('nvimcord').setup { require('nvimcord').setup {
autostart = false, autostart = true,
client_id = '1088133821985210408', client_id = '954365489214291979',
large_file_icon = true, large_file_icon = true,
log_level = vim.log.levels.DEBUG, log_level = vim.log.levels.DEBUG,
workspace_name = function() workspace_name = function()

View File

@@ -72,6 +72,17 @@ return require('packer').startup(function(use)
use({ use({
"iamcco/markdown-preview.nvim", "iamcco/markdown-preview.nvim",
run = function() vim.fn["mkdp#util#install"]() end, 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 'ObserverOfTime/nvimcord'
use {
'numToStr/Comment.nvim',
config = function()
end
}
end) end)