ignore a couple extra "target" directories

Crates within a workspace aren't supposed to have their own "target"
directories. But yet these directories appear when I edit files with vim
and YouCompleteMe. Ignoring them makes tools like "rg" more pleasant to
use.
This commit is contained in:
Scott Lamb 2020-06-19 21:55:38 -07:00
parent 9a2aec0abe
commit 0660a9e855

7
.gitignore vendored
View File

@ -5,6 +5,13 @@
# will have compiled files and executables
/target
# YouCompleteMe + its bundled RLS appear to create target directories within
# the crate paths, contrary to the documentation of how workspaces work.
# (As of https://github.com/ycm-core/YouCompleteMe.git f9906f8,
# which pulls in rls from nightly-2020-04-17.)
/yaserde/target
/yaserde_derive/target
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock
Cargo.lock