Skip to content

Commit

Permalink
Merge pull request #476 from Jafaral/ulsp-fix-parser
Browse files Browse the repository at this point in the history
ulsp: unidoc chokes on 'parser', skip it for now
  • Loading branch information
Don-Ward authored Sep 15, 2024
2 parents 6110233 + 027050d commit bac7c90
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 bac7c90

Please sign in to comment.