gitignore: add more vim swap files

1. Ignore "tags" files for all directories.

2. Add more vim swap files(".swo", ".swn").

    https://vimdoc.sourceforge.net/htmldoc/recover.html

    - If this file already exists (e.g., when you are recovering from a crash) a
      warning is given and another extension is used, ".swo", ".swn", etc.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
wangjianyu3 2025-06-18 22:14:54 +08:00 committed by Matteo Golin
parent 2e5160ed0d
commit 759d6fa782

4
.gitignore vendored
View file

@ -25,6 +25,8 @@
*.rel *.rel
*.src *.src
*.srec *.srec
*.swn
*.swo
*.swp *.swp
*.sym *.sym
*.wsp *.wsp
@ -60,7 +62,7 @@
/nuttx.* /nuttx.*
/nuttx_user* /nuttx_user*
/staging /staging
/tags **/tags
/TAGS /TAGS
core core
Make*.dep Make*.dep