diff --git a/cmd/tools/vcreate.v b/cmd/tools/vcreate.v index 5e494d8960..65e85740af 100644 --- a/cmd/tools/vcreate.v +++ b/cmd/tools/vcreate.v @@ -77,6 +77,8 @@ vls.log fn gitattributes_content() string { return '*.v linguist-language=V text=auto eol=lf *.vv linguist-language=V text=auto eol=lf +*.vsh linguist-language=V text=auto eol=lf +**/v.mod linguist-language=V text=auto eol=lf ' } diff --git a/cmd/tools/vcreate_test.v b/cmd/tools/vcreate_test.v index fc746aee55..391495dd22 100644 --- a/cmd/tools/vcreate_test.v +++ b/cmd/tools/vcreate_test.v @@ -40,6 +40,8 @@ fn init_and_check() ? { assert os.read_file('.gitattributes') ? == [ '*.v linguist-language=V text=auto eol=lf', '*.vv linguist-language=V text=auto eol=lf', + '*.vsh linguist-language=V text=auto eol=lf', + '**/v.mod linguist-language=V text=auto eol=lf' '', ].join_lines()