diff --git a/.editorconfig b/.editorconfig index 1cf3ef1..b4cbf37 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -root=true +root = true [*.tex, *.md] @@ -7,3 +7,6 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true + +indent_style = space +indent_size = 4 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..606b371 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.tex text eol=lf +*.md text eol=lf diff --git a/.gitignore b/.gitignore index 4447157..bf4ef7f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,14 @@ -.vscode - ## Generated PDF files are ignored. ## Navigate to GitHub Actions or Releases to obtain a copy. 讲义/*.pdf 习题参考答案/*.pdf build +## VSCode workspace settings +.vscode/settings.json +.vscode/launch.json +.vscode/tasks.json + ## Core latex/pdflatex auxiliary files: *.aux *.lof diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..4aaf7b6 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": [ "editorconfig.editorconfig" ] +}