Move module aliases to after main module definition

This commit is contained in:
Justin Frank 2019-07-22 23:48:30 -07:00
parent 8941002ce0
commit a15ff0ffc3
2 changed files with 9 additions and 8 deletions

View File

@ -59,11 +59,6 @@ hook -group objc-highlight global WinSetOption filetype=objc %{
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/objc }
}
# Module aliases
provide-module c %{ require-module c-family }
provide-module cpp %{ require-module c-family }
provide-module objc %{ require-module c-family }
provide-module c-family %§
@ -450,3 +445,8 @@ define-command objc-alternative-file -docstring "Jump to the alternate objc file
}
§
# Module aliases
provide-module c %{ require-module c-family }
provide-module cpp %{ require-module c-family }
provide-module objc %{ require-module c-family }

View File

@ -34,9 +34,6 @@ hook -group typescript-highlight global WinSetOption filetype=typescript %{
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/typescript }
}
# Aliases
# ‾‾‾‾‾‾‾
provide-module typescript %{ require-module javascript }
provide-module javascript %§
@ -133,3 +130,7 @@ add-highlighter shared/typescript/code/ regex \b(array|boolean|date|number|objec
add-highlighter shared/typescript/code/ regex \b(as|constructor|declare|enum|from|implements|interface|module|namespace|package|private|protected|public|readonly|static|type)\b 0:keyword
§
# Aliases
# ‾‾‾‾‾‾‾
provide-module typescript %{ require-module javascript }