シンタックスハイライトするフィルタてないかなで、perlのText::VimColorをRubyに移植するところからやったら、とっくに先を越されていたという話。 それはそれとして、Rubyでもサーバーサイドでシンタックスハイライトができたらいいですよねーということで、移植したものを公開します。CodeReposの/lang/ruby/vimcolorにあります。 完成度がダメダメなので、ガツガツいじってやってください>< もしかして車輪の再開発だったら悲しい。
なんか手間がかかったのでメモしておく. ナレッジエース - Vimでカーソル下の単語からRubyのリファレンスを検索を見て,Macでやってみようと思ったけどいろいろひっかかった.環境としては,MacPortsでPrivatePortfile/Vim - MacPortsWiki-JPを使って+cocoa+cscope+huge+kaoriya+multibyte+python+rubyでインストールしたVimと,rubyとrb-rubygems入れてある. で,sudo gem install refeしてrefe入れて,refe.vim - rails2u.comからrefe.vimを持ってくる.ちなみに,*.vbaファイルは,vim *.vbaして開いてから:so %でインストールできる.とりあえず,これでナレッジエースさんとこで書いてある環境になるけども,refeがEUC-JPで日本
About VimMate is a graphical add-on to Vim with IDE-like features: it does more than the plain Vim while still being lightweight. Even with the additional features, it stays out of the way for it's main task: editing files with Vim. VimMate adds functionality to Vim by embedding Vim GTK GUI (gVim) within VimMate. Screenshot See a screenshot that shows the new features in VimMate 0.6.2 See a screen
■ [ruby] シンタックスハイライトを行うライブラリ、Text::VimColorがRubyに移植されたようです Ruby-VimColorキター! Text::VimColorをRubyに移植する - 古橋貞之の日記 誰か移植しないかなーと思ってたところだったので嬉しい。CodeReposにリポジトリがあったので、 とりあえずREADMEに使い方とかを追記してみた。 で、ソース見たんだけど、これvimをforkで起動してるのなwww てっきりシンタックスファイルをパーズしてるのかと思っていた。 元となったPerl版はこちら。 Text::VimColor - syntax color text in HTML or XML using Vim - search.cpan.org シンタックスハイライトを行うライブラリっていろいろあるんだけど、 対応フォーマットの数では多分これより多い
Introduction If you edit Ruby code in Vim, there are some configuration files (distributed with Vim) that aim to make your life easier. These are maintained by three different people, but are grouped together in this project so we can keep them all up to date and offer them in a convenient download. Below you will find the README file from the Git repository, which discusses the structure of the p
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く