1
0
Fork 0

nvim: install & compile plugins if they aren't compiled

This commit is contained in:
tastytea 2022-08-12 19:29:03 +02:00
parent 787a371482
commit 4d4208215c
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 4 additions and 0 deletions

View File

@ -12,3 +12,7 @@ require('my/net')
if packer_bootstrap then
require('packer').sync()
end
if not io.open(vim.fn.stdpath('config') .. '/plugin','r') then
require('packer').install()
end