Update plugins
parent
233dba0dfe
commit
edc517757b
@ -1,8 +1,18 @@
|
|||||||
return {
|
-- https://github.com/tpope/vim-surround
|
||||||
'tpope/vim-surround',
|
-- surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
|
||||||
tag = 'v2.2',
|
local M = { 'tpope/vim-surround' }
|
||||||
dependencies = {
|
|
||||||
|
M.tag = 'v2.2'
|
||||||
|
M.dependencies = {
|
||||||
|
-- https://github.com/tpope/vim-sleuth
|
||||||
|
-- sleuth.vim: Heuristically set buffer options
|
||||||
{ 'tpope/vim-sleuth', tag = 'v2.0' },
|
{ 'tpope/vim-sleuth', tag = 'v2.0' },
|
||||||
|
|
||||||
|
-- https://github.com/numToStr/Comment.nvim
|
||||||
|
-- 🧠 💪 // Smart and powerful comment plugin for neovim.
|
||||||
|
-- Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
|
||||||
{ 'numToStr/Comment.nvim', opts = {}, lazy = false },
|
{ 'numToStr/Comment.nvim', opts = {}, lazy = false },
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return M
|
||||||
|
@ -1,16 +1,21 @@
|
|||||||
local function config()
|
-- https://github.com/ray-x/go.nvim
|
||||||
require("go").setup()
|
-- A modern go neovim plugin based on treesitter, nvim-lsp and dap debugger.
|
||||||
end
|
local M = { 'ray-x/go.nvim' }
|
||||||
|
|
||||||
return {
|
M.name = 'go'
|
||||||
'ray-x/go.nvim',
|
M.event = { 'CmdlineEnter' }
|
||||||
name = 'go',
|
M.ft = { 'go', 'gomod' }
|
||||||
config = config,
|
M.dependencies = {
|
||||||
event = { 'CmdlineEnter' },
|
-- https://github.com/ray-x/guihua.lua
|
||||||
ft = { 'go', 'gomod' },
|
-- Guihua: A Lua Gui and util library for nvim plugins
|
||||||
dependencies = {
|
|
||||||
'ray-x/guihua.lua',
|
'ray-x/guihua.lua',
|
||||||
|
|
||||||
'lspconfig',
|
'lspconfig',
|
||||||
'treesitter',
|
'treesitter',
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function M.config()
|
||||||
|
require("go").setup()
|
||||||
|
end
|
||||||
|
|
||||||
|
return M
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
local function config()
|
-- https://github.com/L3MON4D3/LuaSnip
|
||||||
|
-- Snippet Engine for Neovim written in Lua.
|
||||||
|
local M = { 'L3MON4D3/LuaSnip' }
|
||||||
|
|
||||||
|
M.tag = 'v2.3.0'
|
||||||
|
M.dependencies = {}
|
||||||
|
|
||||||
|
function M.config()
|
||||||
local luasnip = require 'luasnip'
|
local luasnip = require 'luasnip'
|
||||||
luasnip.setup()
|
luasnip.setup()
|
||||||
luasnip.config.setup({})
|
luasnip.config.setup({})
|
||||||
require("luasnip.loaders.from_snipmate").lazy_load()
|
require("luasnip.loaders.from_snipmate").lazy_load()
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return M
|
||||||
'L3MON4D3/LuaSnip',
|
|
||||||
config = config,
|
|
||||||
tag = 'v2.3.0',
|
|
||||||
dependencies = {},
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue