RootIgnore icon indicating copy to clipboard operation
RootIgnore copied to clipboard

Does not work with command-t at all

Open dylan-chong opened this issue 7 years ago • 1 comments

I have node_modules in my gitignore, but it does not get ignored by command t.

There is not even any code in the repo that will support command t

dylan-chong avatar Jun 05 '18 04:06 dylan-chong

Note that command-t wildignore works unlike vim wildignore https://github.com/wincent/command-t/blob/7364a410bc4f0d7febc183678cd565066dfd1e73/doc/command-t.txt#L1102

so, /node_modules/ does not get ignored but */node_modules/ does get ignored. The simplest way to do this is to change https://github.com/octref/RootIgnore/blob/e0142359f297021f8d35f26476bff78f4938b297/plugin/RootIgnore.vim#L35

to

      let line = substitute(line, '/', '*/', '')

vogre avatar Nov 10 '18 10:11 vogre