Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update-intrinsics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Update Markdown intrinsics
run: |
python3 -m fortls.intrinsics
python3 -m fortls.parsers.internal.intrinsics

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down
4 changes: 3 additions & 1 deletion fortls/parsers/internal/intrinsics.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ def update_m_intrinsics():
val = val.replace(f"**{key.upper()}**(3)", f"**{key.upper()}**")
markdown_intrinsics[key] = val

with open("fortls/intrinsic.procedures.markdown.json", "w") as f:
with open(
"fortls/parsers/internal/intrinsic.procedures.markdown.json", "w"
) as f:
json.dump(markdown_intrinsics, f, indent=2)
f.write("\n") # add newline at end of file
except Exception as e:
Expand Down