vim-patch:8.0.0851: 'smartindent' is used even when 'indentexpr' is set (#8481)

Problem:    'smartindent' is used even when 'indentexpr' is set.
Solution:   Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi)
69a76feda9

---

This also fixes "delfunction!" which was not merged fully in  a185ab70fd (vim-patch:8.0.0655)
This commit is contained in:
Jan Edmund Lazo
2018-06-05 02:20:38 -04:00
committed by Justin M. Keyes
parent cf92a76285
commit b2633bba73
3 changed files with 30 additions and 2 deletions

View File

@@ -698,7 +698,7 @@ return {
},
{
command='delfunction',
flags=bit.bor(NEEDARG, WORD1, CMDWIN),
flags=bit.bor(BANG, NEEDARG, WORD1, CMDWIN),
addr_type=ADDR_LINES,
func='ex_delfunction',
},