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
|
||||
{
|
||||
caption: "\\usepackage{#{pkg}}"
|
||||
snippet: """\\usepackage{#{pkg}}"""
|
||||
snippet: "\\usepackage{#{pkg}}"
|
||||
meta: "pkg"
|
||||
}
|
||||
|
||||
|
@ -31,14 +31,13 @@ define () ->
|
|||
caption: "\\usepackage{}"
|
||||
snippet: "\\usepackage{}"
|
||||
meta: "pkg"
|
||||
score: 70
|
||||
score: 55
|
||||
}
|
||||
|
||||
class PackageManager
|
||||
getCompletions: (editor, session, pos, prefix, callback) ->
|
||||
docText = session.getValue()
|
||||
loaded = parseLoadedPackages(docText)
|
||||
# console.log loaded
|
||||
loaded = parseLoadedPackages docText
|
||||
callback null, packageSnippets
|
||||
|
||||
return PackageManager
|
||||
|
|
Loading…
Reference in a new issue