소스 검색

And true and false as keywords

Marco Petersen 5 년 전
부모
커밋
1cd7f1a301
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/twig/twig.ts

+ 2 - 0
src/twig/twig.ts

@@ -51,6 +51,8 @@ export const language = <ILanguage>{
 		// closing tags
 		'endapply', 'endautoescape', 'endblock', 'endembed', 'endfor', 'endif',
 		'endmacro', 'endsandbox', 'endset', 'endwith',
+		// literals
+		'true', 'false',
 	],
 
 	tokenizer: {