Commit dbc0cbaa authored by Simon Marlow's avatar Simon Marlow
Browse files

FIX #1653 (partially): add -X flags to completion for :set

parent c6b0a84d
......@@ -936,10 +936,13 @@ allFlags :: [String]
allFlags = map ('-':) $
[ name | (name, optkind) <- dynamic_flags, ok optkind ] ++
map ("fno-"++) flags ++
map ("f"++) flags
map ("f"++) flags ++
map ("X"++) xs ++
map ("XNo"++) xs
where ok (PrefixPred _ _) = False
ok _ = True
flags = map fst fFlags
xs = map fst xFlags
dynamic_flags :: [(String, OptKind DynP)]
dynamic_flags = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment