We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49d10f7 commit 7ef1ed5Copy full SHA for 7ef1ed5
latextools/utils/analysis.py
@@ -159,7 +159,7 @@ def tex_base_path(self, file_path):
159
This is usually the folder of the tex root, but can change if
160
the import package is used.
161
Use this instead of the tex root path to implement functions
162
- like the \input command completion.
+ like the \\input command completion.
163
"""
164
file_path = os.path.normpath(file_path)
165
try:
@@ -341,7 +341,8 @@ def get_analysis(tex_root):
341
raise TypeError("tex_root must be a string or view")
342
343
result = LocalCache(tex_root).cache("analysis", partial(analyze_document, tex_root))
344
- result._freeze()
+ if result:
345
+ result._freeze()
346
return result
347
348
0 commit comments