ludovicchabant/vim-gutentags

Use with vim-eunuch's SudoWrite causes error

alerque opened this issue · 0 comments

Somewhat expected, when writing to files with sudo permissions regenerating tags throws an error. This wouldn't be so bad except the ctags error occludes any previous errors so it's difficult to confirm the write happened.

It would be nice if this plugin detected when either the tags file won't be writable or the current buffer isn't writable (or has hooks setup as in vim-eunuch) and didn't even try.