RootIgnore
RootIgnore copied to clipboard
Does not work with command-t at all
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
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, '/', '*/', '')