add nvim-comment
This commit is contained in:
parent
aec18442a6
commit
0c32b4612a
@ -65,6 +65,12 @@ return require('packer').startup(function(use)
|
||||
}
|
||||
use {"machakann/vim-sandwich", event = "BufRead"}
|
||||
|
||||
use {
|
||||
"terrortylor/nvim-comment",
|
||||
config = function() require('nvim_comment').setup() end,
|
||||
cmd = "CommentToggle"
|
||||
}
|
||||
|
||||
-- navigation
|
||||
use {
|
||||
'kyazdani42/nvim-tree.lua',
|
||||
|
@ -142,6 +142,13 @@ _G.packer_plugins = {
|
||||
needs_bufread = false,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-base16"
|
||||
},
|
||||
["nvim-comment"] = {
|
||||
commands = { "CommentToggle" },
|
||||
config = { "\27LJ\1\2:\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\17nvim_comment\frequire\0" },
|
||||
loaded = false,
|
||||
needs_bufread = false,
|
||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-comment"
|
||||
},
|
||||
["nvim-lspconfig"] = {
|
||||
after = { "lsp_signature.nvim", "lspkind-nvim", "nvim-lspinstall" },
|
||||
loaded = false,
|
||||
@ -241,9 +248,10 @@ time([[Config for gitsigns.nvim]], false)
|
||||
-- Command lazy-loads
|
||||
time([[Defining lazy-load commands]], true)
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Neoformat lua require("packer.load")({'neoformat'}, { cmd = "Neoformat", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file VimwikiIndex lua require("packer.load")({'vimwiki'}, { cmd = "VimwikiIndex", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Telescope lua require("packer.load")({'telescope.nvim'}, { cmd = "Telescope", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file NvimTreeToggle lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file VimwikiIndex lua require("packer.load")({'vimwiki'}, { cmd = "VimwikiIndex", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])
|
||||
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file CommentToggle lua require("packer.load")({'nvim-comment'}, { cmd = "CommentToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])
|
||||
time([[Defining lazy-load commands]], false)
|
||||
|
||||
vim.cmd [[augroup packer_load_aucmds]]
|
||||
|
Loading…
Reference in New Issue
Block a user