Syntax highlighting and spell checker for Gettext in Vim

I just improved Vim’s syntax highlighting for po files. Besides the features introduced last year, this version is now able to correctly highlight XML tags beginning in one line and ending in the next one. Vim will now spell check the value of specific attributes: abbr, alt, content, summary, standby e title. (This list was retrieved from the translate-toolkit source code.)

Vim spell checking gettext file with xml tags

Spell check of translator comments wasn’t implemented, due to technical difficulties in stopping Vim from checking the header comments too.

For now, the file can be downloaded here. You’ll find the installation instructions in the vim.org page with previous versions. If everything goes well, Dwayne Bailey should send the new version to vim.org; the next step would be including it in Vim’s source code. Update: the file was uploaded to its vim.org page.

PS: Any chance Vim could ever have a open-tran.eu plugin like gtranslator?😉

2 respostas em “Syntax highlighting and spell checker for Gettext in Vim

  1. Pingback: Updated Brazilian Portuguese dictionary for Vim and Aspell | Leonardo Fontenelle

Deixe uma resposta

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s