Skip to content

Commit

Permalink
ulsp: unidoc chokes on 'parser', skip it for now
Browse files Browse the repository at this point in the history
Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
  • Loading branch information
Jafaral committed Sep 15, 2024
1 parent 6110233 commit 027050d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions uni/ulsp/database.icn
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ class LSPDB(
end

method build_package_db()
local dirPath, db_paths
local dirPath, db_paths := [], dir

dirPath := unicon_dir

db_paths := ipaths_get()

pop(db_paths) # remove the current directory

every dir := !ipaths_get() do
# remove the current dir, also skip parser due to a unidoc bug
if not((dir == ("." | "")) | find("uni/parser"|"uni\\parser", dir))then
put(db_paths, dir)

if \unicon_dir then
put(db_paths, unicon_dir || "ipl/procs", unicon_dir || "uni/unidoc")
Expand Down

0 comments on commit 027050d

Please sign in to comment.