nvim: replace use with packer.use
This commit is contained in:
parent
11059147e5
commit
479570112e
|
@ -1,12 +1,12 @@
|
|||
require('plugins')
|
||||
require('lsp')
|
||||
|
||||
use 'https://github.com/hrsh7th/cmp-nvim-lsp'
|
||||
use 'https://github.com/hrsh7th/cmp-buffer'
|
||||
use 'https://github.com/hrsh7th/cmp-path'
|
||||
use 'https://github.com/hrsh7th/cmp-cmdline'
|
||||
use 'https://github.com/hrsh7th/cmp-nvim-lua'
|
||||
use {
|
||||
packer.use 'https://github.com/hrsh7th/cmp-nvim-lsp'
|
||||
packer.use 'https://github.com/hrsh7th/cmp-buffer'
|
||||
packer.use 'https://github.com/hrsh7th/cmp-path'
|
||||
packer.use 'https://github.com/hrsh7th/cmp-cmdline'
|
||||
packer.use 'https://github.com/hrsh7th/cmp-nvim-lua'
|
||||
packer.use {
|
||||
'https://github.com/hrsh7th/nvim-cmp',
|
||||
config = function()
|
||||
local cmp = require'cmp'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require('plugins')
|
||||
|
||||
-- org
|
||||
use {
|
||||
packer.use {
|
||||
'https://github.com/nvim-orgmode/orgmode',
|
||||
config = function()
|
||||
require('orgmode').setup{}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require('plugins')
|
||||
require('keymaps')
|
||||
|
||||
use {
|
||||
packer.use {
|
||||
'https://github.com/neovim/nvim-lspconfig',
|
||||
requires = 'https://github.com/L3MON4D3/LuaSnip',
|
||||
config = function()
|
||||
|
|
|
@ -7,12 +7,11 @@ end
|
|||
|
||||
packer = require('packer')
|
||||
packer.init()
|
||||
use = packer.use
|
||||
|
||||
use 'https://github.com/wbthomason/packer.nvim'
|
||||
packer.use 'https://github.com/wbthomason/packer.nvim'
|
||||
|
||||
-- common dependencies which require setup
|
||||
use {
|
||||
packer.use {
|
||||
'https://github.com/nvim-treesitter/nvim-treesitter',
|
||||
run = function()
|
||||
require('nvim-treesitter.install').update({ with_sync = true })
|
||||
|
|
Loading…
Reference in New Issue
Block a user