Permalink
Browse files

18.11.28

  • Loading branch information...
DisposaBoy committed Nov 28, 2018
2 parents e2af65c + 8d16314 commit e1cd2a7e2b92947821a6fbbbf77e08a4eec38bb3
Showing with 5,327 additions and 2,253 deletions.
  1. +313 −0 Ariana.sublime-color-scheme
  2. +74 −7 CHANGELOG.md
  3. +9 −1 Default (Linux).sublime-keymap
  4. +9 −1 Default (OSX).sublime-keymap
  5. +9 −1 Default (Windows).sublime-keymap
  6. +0 −2 GoSublime.sublime-settings
  7. +2 −2 Preferences.sublime-settings
  8. +1 −1 gosubl/about.py
  9. +6 −1 gosubl/gs.py
  10. +120 −6 gosubl/margo.py
  11. +9 −5 gosubl/margo_agent.py
  12. +2 −2 gosubl/margo_common.py
  13. +78 −1 gosubl/margo_render.py
  14. +7 −0 gosubl/margo_state.py
  15. +9 −1 gosubl/margo_sublime.py
  16. +1 −0 gosubl/mg9.py
  17. +1 −2 src/margo.sh/.travis.yml
  18. +9 −9 src/margo.sh/Gopkg.lock
  19. +66 −0 src/margo.sh/cmdpkg/margo/ci.go
  20. +1 −1 src/margo.sh/cmdpkg/margo/dev.go
  21. +1 −0 src/margo.sh/cmdpkg/margo/main.go
  22. +17 −196 src/margo.sh/golang/common.go
  23. +0 −20 src/margo.sh/golang/common_test.go
  24. +0 −16 src/margo.sh/golang/completion_test.go
  25. +28 −171 src/margo.sh/golang/cursor.go
  26. +407 −0 src/margo.sh/golang/cursor/curctx.go
  27. +77 −0 src/margo.sh/golang/cursor/curscope.go
  28. +16 −0 src/margo.sh/golang/cursor/cursor_test.go
  29. +25 −39 src/margo.sh/golang/gocode.go
  30. +233 −92 src/margo.sh/golang/gocode_calltips.go
  31. +31 −7 src/margo.sh/golang/gocode_suggest.go
  32. +136 −0 src/margo.sh/golang/goutil/common.go
  33. +82 −0 src/margo.sh/golang/goutil/common_test.go
  34. +79 −0 src/margo.sh/golang/goutil/parse.go
  35. +2 −3 src/margo.sh/golang/guru.go
  36. +243 −0 src/margo.sh/golang/internal/pkglst/pkglst.go
  37. +76 −85 src/margo.sh/golang/margocode.go
  38. +7 −0 src/margo.sh/golang/mgccache.go
  39. +12 −60 src/margo.sh/golang/parse.go
  40. +66 −314 src/margo.sh/golang/snippets.go
  41. +54 −0 src/margo.sh/golang/snippets/append-snippet.go
  42. +32 −0 src/margo.sh/golang/snippets/defer-snippet.go
  43. +87 −0 src/margo.sh/golang/snippets/doc-snippet.go
  44. +68 −0 src/margo.sh/golang/snippets/func-snippet.go
  45. +61 −0 src/margo.sh/golang/snippets/gen-decl-snippet.go
  46. +30 −0 src/margo.sh/golang/snippets/init-func-snippet.go
  47. +30 −0 src/margo.sh/golang/snippets/main-func-snippet.go
  48. +24 −0 src/margo.sh/golang/snippets/map-snippet.go
  49. +96 −0 src/margo.sh/golang/snippets/method-snippet.go
  50. +62 −0 src/margo.sh/golang/snippets/mutex-snippet.go
  51. +59 −0 src/margo.sh/golang/snippets/package-name-snippet.go
  52. +21 −0 src/margo.sh/golang/snippets/return-snippet.go
  53. +26 −0 src/margo.sh/golang/snippets/snippets.go
  54. +28 −0 src/margo.sh/golang/snippets/type-snippet.go
  55. +232 −0 src/margo.sh/htm/htm.go
  56. +30 −74 src/margo.sh/mg/action.go
  57. +49 −0 src/margo.sh/mg/actions/action.go
  58. +62 −0 src/margo.sh/mg/actions/registry.go
  59. +10 −11 src/margo.sh/mg/agent.go
  60. +10 −15 src/margo.sh/mg/client-actions.go
  61. +4 −2 src/margo.sh/mg/cmd.go
  62. +8 −76 src/margo.sh/mg/common.go
  63. +44 −0 src/margo.sh/mg/ctx.go
  64. +18 −0 src/margo.sh/mg/hud.go
  65. +57 −20 src/margo.sh/mg/issue.go
  66. +23 −0 src/margo.sh/mg/issue_test.go
  67. +1 −1 src/margo.sh/mg/lint.go
  68. +4 −2 src/margo.sh/mg/reducers.go
  69. +1 −2 src/margo.sh/mg/restart.go
  70. +16 −4 src/margo.sh/mg/state.go
  71. +6 −4 src/margo.sh/mg/store.go
  72. +63 −84 src/margo.sh/mg/tasks.go
  73. +125 −0 src/margo.sh/mgutil/os.go
  74. +29 −0 src/margo.sh/mgutil/pos.go
  75. +32 −0 src/margo.sh/mgutil/str.go
  76. +4 −10 src/margo.sh/vendor/github.com/ugorji/go/codec/0doc.go
  77. +46 −18 src/margo.sh/vendor/github.com/ugorji/go/codec/binc.go
  78. +1 −1 src/margo.sh/vendor/github.com/ugorji/go/codec/build.sh
  79. +32 −19 src/margo.sh/vendor/github.com/ugorji/go/codec/cbor.go
  80. +541 −245 src/margo.sh/vendor/github.com/ugorji/go/codec/decode.go
  81. +76 −33 src/margo.sh/vendor/github.com/ugorji/go/codec/encode.go
  82. +387 −387 src/margo.sh/vendor/github.com/ugorji/go/codec/fast-path.generated.go
  83. +9 −9 src/margo.sh/vendor/github.com/ugorji/go/codec/fast-path.go.tmpl
  84. +8 −8 src/margo.sh/vendor/github.com/ugorji/go/codec/gen-helper.generated.go
  85. +7 −7 src/margo.sh/vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl
  86. +1 −1 src/margo.sh/vendor/github.com/ugorji/go/codec/gen.generated.go
  87. +13 −11 src/margo.sh/vendor/github.com/ugorji/go/codec/gen.go
  88. +9 −8 src/margo.sh/vendor/github.com/ugorji/go/codec/helper.go
  89. +1 −1 src/margo.sh/vendor/github.com/ugorji/go/codec/helper_not_unsafe.go
  90. +2 −2 src/margo.sh/vendor/github.com/ugorji/go/codec/helper_unsafe.go
  91. +34 −8 src/margo.sh/vendor/github.com/ugorji/go/codec/json.go
  92. +1 −1 src/margo.sh/vendor/github.com/ugorji/go/codec/mammoth-test.go.tmpl
  93. +1 −1 src/margo.sh/vendor/github.com/ugorji/go/codec/mammoth2-test.go.tmpl
  94. +72 −48 src/margo.sh/vendor/github.com/ugorji/go/codec/msgpack.go
  95. +1 −1 src/margo.sh/vendor/github.com/ugorji/go/codec/rpc.go
  96. +14 −6 src/margo.sh/vendor/github.com/ugorji/go/codec/simple.go
  97. +0 −12 src/margo.sh/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
  98. +1 −1 src/margo.sh/vendor/golang.org/x/sys/unix/mkerrors.sh
  99. +8 −0 src/margo.sh/vendor/golang.org/x/sys/unix/mkpost.go
  100. +63 −0 src/margo.sh/vendor/golang.org/x/sys/unix/syscall_linux.go
  101. +8 −0 src/margo.sh/vendor/golang.org/x/sys/unix/syscall_netbsd.go
  102. +1 −1 src/margo.sh/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
  103. +24 −0 src/margo.sh/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go
  104. +1 −1 src/margo.sh/vendor/golang.org/x/sys/unix/types_freebsd.go
  105. +2 −0 src/margo.sh/vendor/golang.org/x/sys/unix/types_netbsd.go
  106. +1 −1 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
  107. +1 −1 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
  108. +1 −1 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
  109. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
  110. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
  111. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
  112. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
  113. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
  114. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
  115. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
  116. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
  117. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
  118. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
  119. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
  120. +3 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
  121. +7 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
  122. +7 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
  123. +7 −0 src/margo.sh/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
  124. +32 −22 src/margo.sh/vendor/golang.org/x/tools/go/ast/astutil/imports.go
  125. +56 −13 src/margo.sh/vendor/golang.org/x/tools/go/packages/golist.go
  126. +8 −10 src/margo.sh/vendor/golang.org/x/tools/go/packages/golist_fallback.go
  127. +12 −15 src/margo.sh/vendor/golang.org/x/tools/go/packages/packages.go
  128. +2 −2 src/margo.sh/vendor/golang.org/x/tools/go/ssa/methods.go
  129. +3 −3 src/margo.sh/vendor/golang.org/x/tools/go/ssa/sanity.go
  130. +1 −1 src/margo.sh/vendor/golang.org/x/tools/go/ssa/ssa.go
  131. +6 −1 src/margo.sh/vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_namlen_linux.go
  132. +5 −2 src/margo.sh/vendor/golang.org/x/tools/internal/gopathwalk/walk.go
  133. +8 −0 syntax/GoSublime-HUD.sublime-syntax
@@ -0,0 +1,313 @@
{
"name": "Ariana",
"author": "DisposaBoy, Sublime HQ Pty Ltd, Dmitri Voronianski",
"variables":
{
"black": "hsl(0, 0%, 0%)",
"blue": "hsl(210, 50%, 60%)",
"blue2": "hsl(209, 13%, 35%)",
"blue3": "hsl(210, 36%, 21%)",
"blue4": "hsl(210, 13%, 45%)",
"blue5": "hsl(180, 36%, 54%)",
"blue6": "hsl(221, 12%, 69%)",
"green": "hsl(114, 31%, 68%)",
"grey": "hsl(0, 0%, 20%)",
"orange": "hsl(32, 93%, 66%)",
"orange2": "hsl(32, 85%, 55%)",
"orange3": "hsl(40, 94%, 68%)",
"pink": "hsl(300, 30%, 68%)",
"red": "hsl(357, 79%, 65%)",
"red2": "hsl(13, 93%, 66%)",
"white": "hsl(0, 0%, 100%)",
"white2": "hsl(0, 0%, 97%)",
"white3": "hsl(219, 28%, 88%)"
},
"globals":
{
"foreground": "var(white3)",
"background": "var(blue3)",
"caret": "var(orange)",
"line_highlight": "var(blue2)",
"selection": "var(blue2)",
"selection_border": "var(blue4)",
"inactive_selection": "var(blue2)",
"misspelling": "var(red)",
"shadow": "color(var(black) alpha(0.25))",
"active_guide": "var(blue5)",
"stack_guide": "color(var(blue5) alpha(0.5))",
"highlight": "var(blue5)",
"find_highlight_foreground": "var(grey)",
"find_highlight": "var(orange3)",
"brackets_options": "underline",
"brackets_foreground": "var(orange)",
"bracket_contents_options": "underline",
"bracket_contents_foreground": "var(blue5)",
"tags_options": "stippled_underline",
"tags_foreground": "var(pink)"
},
"rules":
[
{
"name": "Comment",
"scope": "comment, punctuation.definition.comment",
"foreground": "var(blue6)"
},
{
"name": "String",
"scope": "string",
"foreground": "var(green)"
},
{
"name": "Punctuation",
"scope": "punctuation.definition",
"foreground": "var(blue5)"
},
{
"name": "Number",
"scope": "constant.numeric",
"foreground": "var(orange)"
},
{
"name": "Built-in constant",
"scope": "constant.language",
"foreground": "var(red)",
"font_style": "italic"
},
{
"name": "User-defined constant",
"scope": "constant.character, constant.other",
"foreground": "var(pink)"
},
{
"name": "Member Variable",
"scope": "variable.member",
"foreground": "var(red)"
},
{
"name": "Keyword",
"scope": "keyword - keyword.operator, keyword.operator.word",
"foreground": "var(pink)"
},
{
"name": "Operators",
"scope": "keyword.operator",
"foreground": "var(red2)"
},
{
"name": "Punctuation",
"scope": "punctuation.separator, punctuation.terminator",
"foreground": "var(blue6)"
},
{
"name": "Punctuation",
"scope": "punctuation.section",
"foreground": "var(white)"
},
{
"name": "Accessor",
"scope": "punctuation.accessor",
"foreground": "var(blue6)"
},
{
"name": "Annotation Punctuation",
"scope": "punctuation.definition.annotation",
"foreground": "var(blue5)"
},
{
"name": "JavaScript Dollar",
"scope": "variable.other.dollar.only.js, variable.other.object.dollar.only.js, variable.type.dollar.only.js, support.class.dollar.only.js",
"foreground": "var(blue5)"
},
{
"name": "Storage",
"scope": "storage",
"foreground": "var(red)"
},
{
"name": "Storage type",
"scope": "storage.type",
"foreground": "var(pink)",
"font_style": "italic"
},
{
"name": "Entity name",
"scope": "entity.name.function",
"foreground": "var(blue5)"
},
{
"name": "Entity name",
"scope": "entity.name - (entity.name.section | entity.name.tag | entity.name.label)",
"foreground": "var(orange)"
},
{
"name": "Inherited class",
"scope": "entity.other.inherited-class",
"foreground": "var(blue5)",
"font_style": "italic underline"
},
{
"name": "Function argument",
"scope": "variable.parameter",
"foreground": "var(orange)"
},
{
"name": "Language variable",
"scope": "variable.language",
"foreground": "var(red)",
"font_style": "italic"
},
{
"name": "Tag name",
"scope": "entity.name.tag",
"foreground": "var(red)"
},
{
"name": "Tag attribute",
"scope": "entity.other.attribute-name",
"foreground": "var(pink)"
},
{
"name": "Function call",
"scope": "variable.function, variable.annotation",
"foreground": "var(blue)"
},
{
"name": "Library function",
"scope": "support.function, support.macro",
"foreground": "var(blue)",
"font_style": "italic"
},
{
"name": "Library constant",
"scope": "support.constant",
"foreground": "var(pink)",
"font_style": "italic"
},
{
"name": "Library class/type",
"scope": "support.type, support.class",
"foreground": "var(blue)",
"font_style": "italic"
},
{
"name": "Invalid",
"scope": "invalid",
"foreground": "var(white2)",
"background": "var(red)"
},
{
"name": "Invalid deprecated",
"scope": "invalid.deprecated",
"foreground": "var(white2)",
"background": "var(orange2)"
},
{
"name": "YAML Key",
"scope": "entity.name.tag.yaml",
"foreground": "var(blue5)"
},
{
"name": "YAML String",
"scope": "source.yaml string.unquoted",
"foreground": "var(white3)"
},
{
"name": "markup headings",
"scope": "markup.heading",
"font_style": "bold"
},
{
"name": "markup headings",
"scope": "markup.heading punctuation.definition.heading",
"foreground": "var(red2)"
},
{
"name": "markup h1",
"scope": "markup.heading.1 punctuation.definition.heading",
"foreground": "var(red)"
},
{
"name": "markup links",
"scope": "string.other.link, markup.underline.link",
"foreground": "var(blue)"
},
{
"name": "markup bold",
"scope": "markup.bold",
"font_style": "bold"
},
{
"name": "markup italic",
"scope": "markup.italic",
"font_style": "italic"
},
{
"name": "markup bold/italic",
"scope": "markup.italic markup.bold | markup.bold markup.italic",
"font_style": "bold italic"
},
{
"name": "markup hr",
"scope": "punctuation.definition.thematic-break",
"foreground": "var(orange)"
},
{
"name": "markup numbered list bullet",
"scope": "markup.list.numbered.bullet",
"foreground": "var(green)"
},
{
"name": "markup blockquote",
"scope": "markup.quote punctuation.definition.blockquote, markup.list punctuation.definition.list_item",
"foreground": "var(orange)"
},
{
"name": "markup code",
"scope": "markup.raw",
"background": "color(var(blue2) alpha(0.38))"
},
{
"name": "markup code",
"scope": "markup.raw.inline",
"background": "color(var(blue2) alpha(0.5))"
},
{
"name": "markup punctuation",
"scope": "(text punctuation.definition.italic | text punctuation.definition.bold)",
"foreground": "var(pink)"
},
{
"name": "diff.header",
"scope": "meta.diff, meta.diff.header",
"foreground": "var(pink)"
},
{
"name": "diff.deleted",
"scope": "markup.deleted",
"foreground": "var(red)"
},
{
"name": "diff.inserted",
"scope": "markup.inserted",
"foreground": "var(green)"
},
{
"name": "diff.changed",
"scope": "markup.changed",
"foreground": "var(orange)"
},
{
"name": "CSS Properties",
"scope": "support.type.property-name",
"foreground": "var(white3)"
},
{
"scope": "constant.numeric.line-number.match",
"foreground": "var(red)"
},
{
"scope": "message.error",
"foreground": "var(red)"
}
]
}
Oops, something went wrong.

0 comments on commit e1cd2a7

Please sign in to comment.