Thursday, October 25, 2012

Get a list of regions found in a vim spelling file?

Given a vim spelling file (*.spl) is there a way to discover the regions that it supports?

As an example, in my distribution of vim the spelling directory contains the spell/en.*.spl files but not the spell/en/*.diff files. However, this spelling file supports en_ca, en_us, en_gb, etc regions. Is there a vim command that would output the list of region ['en_ca', 'en_us', ...] from the input, say en.utf-8.spl?

Thanks!

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: