cwoac/nvim — pull request #13 by nixon (2013-08-21 02:12:54+00:00)
Title: avoid AttributeError for xapian < 1.3

RHEL v6.4 installs xapian-bindings-python-1.2.7-1.el6.x86_64.rpm which
causes the following exception when starting nvim:

```
$ python
Python 2.6.6 (r266:84292, May 27 2013, 05:35:12)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xapian
>>> tg = xapian.TermGenerator()
>>> tg.set_stemmer(xapian.Stem('en'))
>>> tg.set_stemming_strategy( tg.STEM_SOME )
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'TermGenerator' object has no attribute 'set_stemming_strategy'
```

The xapian docs say that `TermGenerator.set_stemming_strategy` was
introduced in 1.3. I've never used xapian before so it may not be ok to
ignore this exception, but it at least allows nvim to start up.