file name completion for command i

This commit is contained in:
kr.angelov
2008-06-05 12:12:44 +00:00
parent d970ed5224
commit 83cededff9
4 changed files with 10 additions and 5 deletions

View File

@@ -133,6 +133,8 @@ wordCompletion cmdEnv line prefix p =
ret (if null flg_compls then ' ' else '=')
(flg_compls++opt_compls)
Nothing -> ret ' ' []
CmplIdent (Just (Command "i" _ _)) _ -- HACK: file name completion for command i
-> filenameCompletionFunction prefix
CmplIdent _ pref
-> do mb_abs <- try (evaluate (abstract pgf))
case mb_abs of