diff --git a/rc/filetype/c-family.kak b/rc/filetype/c-family.kak index 75e7359d..6d0442c1 100644 --- a/rc/filetype/c-family.kak +++ b/rc/filetype/c-family.kak @@ -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 } diff --git a/rc/filetype/javascript.kak b/rc/filetype/javascript.kak index c1985195..d18aec24 100644 --- a/rc/filetype/javascript.kak +++ b/rc/filetype/javascript.kak @@ -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 }