Browse Source

flash9 completion fix

Nicolas Cannasse 18 năm trước cách đây
mục cha
commit
09302a0f7f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      main.ml

+ 1 - 0
main.ml

@@ -126,6 +126,7 @@ let make_path f =
 let read_type_path p cp =
 	let classes = ref [] in
 	let packages = ref [] in
+	let p = (match p with "flash" :: l when Plugin.defined "flash9" -> "flash9" :: l | _ -> p) in
 	List.iter (fun path ->
 		let dir = path ^ String.concat "/" p in
 		let r = Sys.readdir dir in