mark *.vsh and all v.mod files as V in future .gitattributes
parent
5c744ebcb7
commit
c3978a5e6f
|
|
@ -77,6 +77,8 @@ vls.log
|
||||||
fn gitattributes_content() string {
|
fn gitattributes_content() string {
|
||||||
return '*.v linguist-language=V text=auto eol=lf
|
return '*.v linguist-language=V text=auto eol=lf
|
||||||
*.vv 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
|
||||||
'
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,8 @@ fn init_and_check() ? {
|
||||||
assert os.read_file('.gitattributes') ? == [
|
assert os.read_file('.gitattributes') ? == [
|
||||||
'*.v linguist-language=V text=auto eol=lf',
|
'*.v linguist-language=V text=auto eol=lf',
|
||||||
'*.vv 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()
|
].join_lines()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue