Mercurial > ec-dotfiles
view bin/patren @ 746:6b7f6f09b8d1 default tip
[vimrc] fix php syntax highlight
Example file: https://github.com/ppy/osu-web/blob/e23658f45ac2e85d78bd339947e0d1cee57629c6/app/Libraries/BBCodeFromDB.php
(around the end)
| author | nanaya <me@nanaya.net> |
|---|---|
| date | Wed, 29 Oct 2025 12:28:45 +0900 |
| parents | 94ee419ad047 |
| children |
line wrap: on
line source
#!/usr/bin/env ruby TITLE_MAPS={ "otaku no musume-san" => 1 } TITLE_REAL={ 1 => "Otaku no Musume-san" } def get_title end ARGV.each do |file| next unless File.file?(file) and File.readable?(file) end
