linglang 0.2

linglang is a Vim plugin that allow you to dynamically switch languages/settings in multi-lingual documents.
linglang is a Vim plugin that allow you to dynamically switch languages/settings in multi-lingual documents.

The command |:Linglang| installs a buffer-local autocommand that checks
the current line's language. I.e. enabling linglang for the current
buffer won't affect other buffers. If the language of the line under the
cursor changes, a user-defined action (e.g., set spelllang) will be
executed.

:Linglang[!] [LANGS ...]
Toggle linglang support for the current buffer.
With [!], suppress message.

Currently supported:
- English
- German (latin1, utf8)

In order to add a new language, you'll have to come up with some good
words/regexps to identify it.

Language data is stored in .../autoload/linglang/LANGUAGE.ENCODING
The fileformat is simple:

- one word per line (these will be matched against word borders)
- arbitrary regular expressions: /REGEXP/

About Vim:

Vim is a text editor first released by Bram Moolenaar in 1991 for the Amiga computer. Vim was created as an extended version of the vi editor, with many additional features designed to be helpful in editing program source code; its full name is Vi IMproved.

While Vim is cross-platform, it is most popular on Unix-like operating systems.

Released under a software license compatible with the GNU General Public License, Vim is free and open source software. The program's license includes some charityware clauses.

Like vi, Vim's interface is based not on menus or icons but on commands given in a text user interface; its GUI mode, gVim, adds menus and toolbars for commonly used commands but the full functionality is still expressed through its command line mode.

For many users learning Vim may be slow initially, but once the basics are understood they progress quickly. To facilitate this, Vim has a built-in tutorial for beginners. There is also the Vim Users' Manual that details the basic and more advanced Vim features. This manual can be read from within Vim, or found online.

Vim also has a built-in help facility (using the :help command) that allows users to query and navigate through commands and features.

Requirements:

Vimball
Vim
hookcursormoved

What's New in This Release:

Language patterns are stored in .../autoload/linglang/LANGUAGE.ENCODING
Respect encoding
Removed variables: g:linglang_words, g:linglang_patterns, g:linglang_filetypes

last updated on:
July 15th, 2008, 12:45 GMT
price:
FREE!
developed by:
Thomas Link
homepage:
www.vim.org
license type:
GPL (GNU General Public License) 
category:
ROOT \ Text Editing&Processing \ Vim Plugins

FREE!

In a hurry? Add it to your Download Basket!

user rating 9

3.0/5
 

0/5

Rate it!

Add your review!

SUBMIT