summary refs log tree commit diff
path: root/.vim/lua/plugins.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-05-31 16:55:12 +0200
committerRobert Günzler <r@gnzler.io>2021-05-31 16:56:02 +0200
commit48c6c952a9fccc1cc46f6cb8d817d5a4266a7c10 (patch)
tree13496c7968f33f83ff2a48b06b725f8119a0dae4 /.vim/lua/plugins.lua
parent84c501be462e03b55401ca962e03ff56e1bb1ae5 (diff)
vim: misc stuff
Diffstat (limited to '.vim/lua/plugins.lua')
-rw-r--r--.vim/lua/plugins.lua10
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',