Adding plugins and updating configs
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
26
after/plugin/comment.lua
Normal file
26
after/plugin/comment.lua
Normal 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,
|
||||||
|
})
|
||||||
@@ -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()
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user