From 1680035546c6769783ed4319b3e7c0ab68e62faf Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Mon, 8 Mar 2021 19:48:50 -0500 Subject: [PATCH] Format fixing --- src/functions.php | 103 +++++----------------------------------------- 1 file changed, 11 insertions(+), 92 deletions(-) diff --git a/src/functions.php b/src/functions.php index bf0f080..3e3391c 100644 --- a/src/functions.php +++ b/src/functions.php @@ -230,41 +230,11 @@ function get_file_syntax_map(): array 'JavaScript', ['.js', '.jsx', '.ts', '.tsx', '.jsm', '.mjs', '.es'], [ - 'instanceof', - 'continue', - 'debugger', - 'function', - 'default', - 'extends', - 'finally', - 'delete', - 'export', - 'import', - 'return', - 'switch', - 'typeof', - 'break', - 'catch', - 'class', - 'const', - 'super', - 'throw', - 'while', - 'yield', - 'case', - 'else', - 'this', - 'void', - 'with', - 'from', - 'for', - 'new', - 'try', - 'var', - 'do', - 'if', - 'in', - 'as', + 'instanceof', 'continue', 'debugger', 'function', 'default', 'extends', + 'finally', 'delete', 'export', 'import', 'return', 'switch', 'typeof', + 'break', 'catch', 'class', 'const', 'super', 'throw', 'while', 'yield', + 'case', 'else', 'this', 'void', 'with', 'from', 'for', 'new', 'try', + 'var', 'do', 'if', 'in', 'as', ], [ '=>', 'Number', 'String', 'Object', 'Math', 'JSON', 'Boolean', @@ -299,63 +269,12 @@ function get_file_syntax_map(): array 'use', 'mut', 'as', 'fn', 'if', 'in', ], [ - 'DoubleEndedIterator', - 'ExactSizeIterator', - 'IntoIterator', - 'PartialOrd', - 'PartialEq', - 'Iterator', - 'ToString', - 'Default', - 'ToOwned', - 'Extend', - 'FnOnce', - 'Option', - 'String', - 'AsMut', - 'AsRef', - 'Clone', - 'Debug', - 'FnMut', - 'Sized', - 'Unpin', - 'array', - 'isize', - 'usize', - '&str', - 'Copy', - 'Drop', - 'From', - 'Into', - 'None', - 'Self', - 'Send', - 'Some', - 'Sync', - 'Sync', - 'bool', - 'char', - 'i128', - 'u128', - 'Box', - 'Err', - 'Ord', - 'Vec', - 'dyn', - 'f32', - 'f64', - 'i16', - 'i32', - 'i64', - 'str', - 'u16', - 'u32', - 'u64', - 'Eq', - 'Fn', - 'Ok', - 'i8', - 'u8', + 'DoubleEndedIterator', 'ExactSizeIterator', 'IntoIterator', 'PartialOrd', 'PartialEq', + 'Iterator', 'ToString', 'Default', 'ToOwned', 'Extend', 'FnOnce', 'Option', 'String', + 'AsMut', 'AsRef', 'Clone', 'Debug', 'FnMut', 'Sized', 'Unpin', 'array', 'isize', + 'usize', '&str', 'Copy', 'Drop', 'From', 'Into', 'None', 'Self', 'Send', 'Some', + 'Sync', 'bool', 'char', 'i128', 'u128', 'Box', 'Err', 'Ord', 'Vec', 'dyn', 'f32', + 'f64', 'i16', 'i32', 'i64', 'str', 'u16', 'u32', 'u64', 'Eq', 'Fn', 'Ok', 'i8', 'u8', ], '//', '/*',