move packer_setup to plugins
This commit is contained in:
parent
bb552b1482
commit
88e3cb4ead
3 changed files with 3 additions and 1 deletions
1
init.lua
1
init.lua
|
@ -3,7 +3,6 @@ vim.g.mapleader = ' '
|
||||||
|
|
||||||
-- Sensible defaults
|
-- Sensible defaults
|
||||||
require('settings')
|
require('settings')
|
||||||
require('packer_setup')
|
|
||||||
require('plugins')
|
require('plugins')
|
||||||
require('keymappings')
|
require('keymappings')
|
||||||
require('lsp')
|
require('lsp')
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
require('plugins.packer_setup')
|
||||||
|
|
||||||
require('packer').startup(function()
|
require('packer').startup(function()
|
||||||
|
|
||||||
-- Packer can manage itself as an optional plugin
|
-- Packer can manage itself as an optional plugin
|
||||||
|
@ -49,6 +51,7 @@ require('packer').startup(function()
|
||||||
use { 'RRethy/vim-illuminate' } -- highlight all words same as the one under cursor
|
use { 'RRethy/vim-illuminate' } -- highlight all words same as the one under cursor
|
||||||
use { 'vim-scripts/DrawIt' } -- ascii diagrams
|
use { 'vim-scripts/DrawIt' } -- ascii diagrams
|
||||||
use { 'nathom/filetype.nvim' }
|
use { 'nathom/filetype.nvim' }
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
require('plugins.cmp')
|
require('plugins.cmp')
|
||||||
|
|
Loading…
Reference in a new issue