diff options
Diffstat (limited to '.vim/lua/plugins.lua')
| -rw-r--r-- | .vim/lua/plugins.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index ead7e23..a0fac91 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -1,8 +1,13 @@ -- load by calling `lua require('plugins')` from your init.vim -local cmd = vim.cmd local g = vim.g local u = require('utils') +-- local install_path = fn.stdpath('data') .. '/site/pack/packer/opt/packer.nvim' +-- if vim.fn.empty(vim.fn.glob(install_path)) > 0 then +-- vim.fn.system({ 'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path }) +-- vim.api.nvim_command 'packadd packer.nvim' +-- end + function disable_distribution_plugins() g.loaded_gzip = 1 g.loaded_tar = 1 @@ -147,8 +152,9 @@ return require'packer'.startup(function() -- multi-language support with lazy loading -- NOTE: put language specific plugs before this to avoid conflicsts + g.polyglot_disabled = { 'autoindent' } use {'sheerun/vim-polyglot'} - + -- minimal ux use {'junegunn/goyo.vim', cmd = 'Goyo', |