mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
removing comment
This commit is contained in:
parent
64f44ab102
commit
2efb6b69e5
1 changed files with 3 additions and 4 deletions
|
@ -23,7 +23,7 @@ define () ->
|
||||||
packageSnippets = for pkg in packages
|
packageSnippets = for pkg in packages
|
||||||
{
|
{
|
||||||
caption: "\\usepackage{#{pkg}}"
|
caption: "\\usepackage{#{pkg}}"
|
||||||
snippet: """\\usepackage{#{pkg}}"""
|
snippet: "\\usepackage{#{pkg}}"
|
||||||
meta: "pkg"
|
meta: "pkg"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,14 +31,13 @@ define () ->
|
||||||
caption: "\\usepackage{}"
|
caption: "\\usepackage{}"
|
||||||
snippet: "\\usepackage{}"
|
snippet: "\\usepackage{}"
|
||||||
meta: "pkg"
|
meta: "pkg"
|
||||||
score: 70
|
score: 55
|
||||||
}
|
}
|
||||||
|
|
||||||
class PackageManager
|
class PackageManager
|
||||||
getCompletions: (editor, session, pos, prefix, callback) ->
|
getCompletions: (editor, session, pos, prefix, callback) ->
|
||||||
docText = session.getValue()
|
docText = session.getValue()
|
||||||
loaded = parseLoadedPackages(docText)
|
loaded = parseLoadedPackages docText
|
||||||
# console.log loaded
|
|
||||||
callback null, packageSnippets
|
callback null, packageSnippets
|
||||||
|
|
||||||
return PackageManager
|
return PackageManager
|
||||||
|
|
Loading…
Reference in a new issue