English language users probably don't have this trouble, but vim is pretty dumb when it comes to regular expressions. In my case most letters in the Turkish alphabet outside the EN alphabet don't seem to qualify as word characters.
Given a document that contains a Turkish word:
gerçekleşiyor
The search expression
/ger\wek
…will not match the start of the word. For whatever reason ç is not a word character.
This becomes maddening when plugins use \w
as part of their regular expression repertoire. A case in point is neocompcache
(which I use instead of neocomplete
because it in compatible with Neovim). Baring extra matching rule sets for some language syntax, autocomplete only happens in word sized chunks. When I'm writing large amounts of Turkish prose it would actually be handy to have functional autocomplete, but with most words being broken into smaller chunks with the Turkish characters left out it is beyond useless.
How can I convince vim (preferably neovim if it matters) to accept a larger range of characters as "word" characters?
utf-8
across the board. And yes it is set in both those settings.