Greg Hurrell [Thu, 8 Jun 2017 01:44:24 +0000 (18:44 -0700)]
Use `empty` instead of `==`
Arguably more transparent, and avoids questions about list equality in
VimL compared with other languages (eg. JavaScript, which isn't
referentially transparent, so `[] != []`).
1. Search for "gui=...", identifying "ctermfg=..." as the prefix and
"guifg=..." as the suffix.
2. Throw away "cterm=bold" while reconstructing the new highlight,
because it was not correctly captured.
3. etc... all bets are off here because we've already thrown away data.
Greg Hurrell [Wed, 12 Oct 2016 01:06:36 +0000 (18:06 -0700)]
Add empty .watchmanconfig
Allows a Watchman instance configured with `enforce_root_files` to watch
this directory even if `root_files` does not contain any of the files in
the directory. (Necessary to get around undesired corporate
`/etc/watchman.json` config.)
Greg Hurrell [Wed, 4 May 2016 01:44:39 +0000 (18:44 -0700)]
Don't let verbose info mess with operation
`'verbose'` > 0 will lead us to capture output like:
Comment xxx term=bold,italic cterm=italic ctermfg=8 gui=italic guifg=#65737e
Last set from ~/code/wincent/roles/dotfiles/files/.vim/after/plugin/color.vim
which will lead to `E416: missing equal sign` errors when we try to use the
captured output.
So, force `'verbose'` to 0 for the duration of the capture.