defaults: enable 'autoindent' #2857

Re: https://github.com/neovim/neovim/issues/2676
This commit is contained in:
Felipe Morales
2015-06-18 17:02:38 -03:00
committed by Justin M. Keyes
parent 81847da948
commit 8e3f67f2a0
4 changed files with 6 additions and 4 deletions

View File

@@ -6,8 +6,9 @@ local AsyncSession = require('nvim.async_session')
local Session = require('nvim.session')
local nvim_prog = os.getenv('NVIM_PROG') or 'build/bin/nvim'
--- FIXME: 'autoindent' messes up the insert() function
local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
'--cmd', 'set shortmess+=I background=light noswapfile',
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent',
'--embed'}
-- Formulate a path to the directory containing nvim. We use this to