Move module aliases to after main module definition
This commit is contained in:
parent
8941002ce0
commit
a15ff0ffc3
|
@ -59,11 +59,6 @@ hook -group objc-highlight global WinSetOption filetype=objc %{
|
||||||
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/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 %§
|
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 }
|
||||||
|
|
|
@ -34,9 +34,6 @@ hook -group typescript-highlight global WinSetOption filetype=typescript %{
|
||||||
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/typescript }
|
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/typescript }
|
||||||
}
|
}
|
||||||
|
|
||||||
# Aliases
|
|
||||||
# ‾‾‾‾‾‾‾
|
|
||||||
provide-module typescript %{ require-module javascript }
|
|
||||||
|
|
||||||
provide-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
|
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 }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user