1:- dynamic user:file_search_path/2. 2:- multifile user:file_search_path/2. 3 4:- prolog_load_context(directory, Dir), 5 ( user:file_search_path(lsp_project, _) 6 -> true 7 ; asserta(user:file_search_path(lsp, Dir)) ).