title: .gitignore node_modules/ not working for fd and ripgrep
body: <p>I'm trying to setup <a href="https://github.com/junegunn/fzf.vim" rel="nofollow noreferrer">fzf.vim</a> for vim on windows 10.</p>
  
  <p>You can use an alternative find command like <a href="https://github.com/BurntSushi/ripgrep" rel="nofollow noreferrer">ripgrep</a> or <a href="https://github.com/sharkdp/fd" rel="nofollow noreferrer">fd</a> which is supposed to <a href="https://github.com/junegunn/fzf#respecting-gitignore" rel="nofollow noreferrer">respect .gitignore</a>.</p>
  
  <p>My .gitignore file has this line, which is working fine for git commits, etc.:</p>
  
  <pre><code>node_modules/
  </code></pre>
  
  <p>My dir structure is</p>
  
  <pre><code>/working directory
  .gitignore file
  .git  dir
  /node_modules dir
  </code></pre>
  
  <p>When I run </p>
  
  <pre><code>fd --type f
  </code></pre>
  
  <p>or </p>
  
  <pre><code>rg --files
  </code></pre>
  
  <p>It lists all files in node_modules.</p>
  
  <p>I feel like this may be a windows problem.</p>
  
  <p>How can I get these programs to use .gitignore to ignore node_modules?</p>