Locale file highlighter for Vim
Sponsored Links
Locale file highlighter for Vim Ranking & Summary
File size:
0.001 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1654
Date added:
2005-04-13
Publisher:
Dwayne Bailey
Locale file highlighter for Vim description
Glibc uses locale (or fdcc) files to define cultural conventions. The files are usualy named
xx_ZZ where xx is the ISO language code and ZZ is the ISO country code.
Main features:
- highlights only valid keys with various LC_ sections
- Shows bad < UNNNN > unicode as an error
Installation
- Copy the file to your .vim/syntax directory in a locale file type: set syntax=fdcc
Filetype detection
Slightly harder as locale files do not have any specific suffix - but heres what to do
Insert this after the Diff section in your scripts.vim file. It does initial patern matching and then looks within the file to determine if it is a locale file.
The double quotes below are escaped on this site so remove those escapes. In fact it will probably mess up all back slashes aswell.
" CVS diff
else
let lnum = 1
while getline(lnum) =~ "^? " && lnum < line("$")
let lnum = lnum + 1
endwhile
if getline(lnum) =~ ^Index:s+f+$
set ft=diff
" locale input files: Formal Definitions of Cultural Conventions
" filename must be like en_US, fr_FR@euro or en_US.UTF-8
"elseif expand("%") =~ (ll_uu($|[.@])|i18n|POSIX|translit_*)
elseif expand("%") =~ aa_aa($|[.@])|i18n$|POSIX$|translit_
let lnum = 1
while lnum < 100 && lnum < line("$")
if getline(lnum) =~ ^LC_(IDENTIFICATION|CTYPE|COLLATE|MONETARY|NUMERIC|TIME|MESSAGES|PAPER|TELEPHONE|MEASUREMENT|NAME|ADDRESS)$
setf fdcc
break
endif
let lnum = lnum + 1
endwhile
endif
endif
unlet s:line2 s:line3 s:line4 s:line5
endif
xx_ZZ where xx is the ISO language code and ZZ is the ISO country code.
Main features:
- highlights only valid keys with various LC_ sections
- Shows bad < UNNNN > unicode as an error
Installation
- Copy the file to your .vim/syntax directory in a locale file type: set syntax=fdcc
Filetype detection
Slightly harder as locale files do not have any specific suffix - but heres what to do
Insert this after the Diff section in your scripts.vim file. It does initial patern matching and then looks within the file to determine if it is a locale file.
The double quotes below are escaped on this site so remove those escapes. In fact it will probably mess up all back slashes aswell.
" CVS diff
else
let lnum = 1
while getline(lnum) =~ "^? " && lnum < line("$")
let lnum = lnum + 1
endwhile
if getline(lnum) =~ ^Index:s+f+$
set ft=diff
" locale input files: Formal Definitions of Cultural Conventions
" filename must be like en_US, fr_FR@euro or en_US.UTF-8
"elseif expand("%") =~ (ll_uu($|[.@])|i18n|POSIX|translit_*)
elseif expand("%") =~ aa_aa($|[.@])|i18n$|POSIX$|translit_
let lnum = 1
while lnum < 100 && lnum < line("$")
if getline(lnum) =~ ^LC_(IDENTIFICATION|CTYPE|COLLATE|MONETARY|NUMERIC|TIME|MESSAGES|PAPER|TELEPHONE|MEASUREMENT|NAME|ADDRESS)$
setf fdcc
break
endif
let lnum = lnum + 1
endwhile
endif
endif
unlet s:line2 s:line3 s:line4 s:line5
endif
Locale file highlighter for Vim Screenshot
Advertisements
Locale file highlighter for Vim Keywords
ISO
ISO TR 14652
TR
ISO TR
for Vim
locale
file
highlighter
vim
files
~
Locale file highlighter for Vim
Locale file highlighter for Vim
Localization
Programming
Bookmark Locale file highlighter for Vim
Locale file highlighter for Vim Copyright
WareSeeker periodically updates pricing and software information of Locale file highlighter for Vim full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Locale file highlighter for Vim Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
wav files
filesharing
driver for vimicro
rar files
midi files
pdf files
file sharing
zip files
driver for vimicro usb pc camera
battle for vimy ridge
drivers for vimicro
locale id
highlighter colors
cream for vim
alegeri locale 2008
highlighter pens
highlighter kids
drivers for vimicro usb pc camera 301x
Related Software
Locale files for South Africa are locale files for all official South African languages. Free Download
Gettext PO syntax highlighting for Vim it highlights and checks Gettext PO format files for GNU, Gnome, and KDE software. Free Download
Highlighter allows you to highlight text on a webpage by selecting it and clicking "Highlight" on the popup menu. Free Download
Lucene::Search::Highlight is a Perl module with highlight terms in Lucene search results. Free Download
Locale::Framework is a Perl module for internationalization. Free Download
Syntax::Highlight::Universal is a Perl module for syntax highlighting based on the Colorer library. Free Download
Cream for Vim is a Vim configuration that emulates Mac/Windows text editors. Free Download
Locale::Memories is a Perl module for L10N Message Retrieval. Free Download
Latest Software
Popular Software
Favourite Software