{"id":1347,"date":"2016-05-30T11:22:29","date_gmt":"2016-05-30T02:22:29","guid":{"rendered":"https:\/\/blog.ymyzk.com\/?p=1347"},"modified":"2016-10-25T00:36:47","modified_gmt":"2016-10-24T15:36:47","slug":"vim-copl","status":"publish","type":"post","link":"https:\/\/blog.ymyzk.com\/2016\/05\/vim-copl\/","title":{"rendered":"\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u57fa\u790e\u6982\u5ff5\u300d\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u306e\u305f\u3081\u306e Syntax Highlighting"},"content":{"rendered":"

Vim \u3067\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u57fa\u790e\u6982\u5ff5<\/a>\u300d\u306e\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u306e\u5c0e\u51fa\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e syntax highlighting \u3067\u3042\u308b\u00a0vim-copl<\/a> \u3092\u516c\u958b\u3057\u307e\u3057\u305f.<\/p>\n

<\/p>\n

\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u306b\u3064\u3044\u3066<\/h2>\n

\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u57fa\u790e\u6982\u5ff5\u300d\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u610f\u5473\u8ad6\u3084\u578b\u30b7\u30b9\u30c6\u30e0\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u308b\u66f8\u7c4d\u3067\u3059. \u3053\u306e\u66f8\u7c4d\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u306e\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u3082\u4f75\u305b\u3066\u516c\u958b\u3055\u308c\u3066\u304a\u308a, \u6f14\u7fd2\u554f\u984c\u3092\u5b9f\u969b\u306b\u89e3\u3044\u3066\u5c0e\u51fa\u3092\u5165\u529b\u3057, \u6b63\u3057\u3044\u5c0e\u51fa\u3092\u8a18\u8ff0\u3057\u3066\u3044\u308b\u304b\u81ea\u52d5\u63a1\u70b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059.<\/p>\n

\u3053\u306e\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u56de\u7b54\u3092\u5165\u529b\u3059\u308b\u969b\u306b, \u5c0e\u51fa\u3092\u72ec\u81ea\u306e ASCII \u8868\u8a18\u3067\u5165\u529b\u3057\u307e\u3059. \u5224\u65ad $latex \\mathcal{J}$ \u306e ASCII \u8868\u8a18\u3092 $latex \\mathcal{J}^{\\flat}$ \u3068\u3059\u308b\u3068, \u5c0e\u51fa<\/p>\n

$latex \\mathcal{D} \\equiv \\cfrac{\\mathcal{D}_1 \\cdots \\mathcal{D}_n}{\\mathcal{J}_0} \\textsc{ RuleName}$<\/p>\n

\u306e ASCII \u8868\u8a18\u306f<\/p>\n

$latex \\mathcal{J}_0^{\\flat} \\texttt{ by RuleName} \\{\\\\
\n\\mathcal{D}_1^{\\flat} \\texttt{;} \\\\
\n\\mathcal{D}_{n-1}^{\\flat} \\texttt{;} \\\\
\n\\mathcal{D}_n^{\\flat} \\\\
\n\\}$<\/p>\n

\u3068\u306a\u308a\u307e\u3059.<\/p>\n

\u6700\u521d\u306e\u65b9\u306e\u554f\u984c\u306f\u5c0e\u51fa\u306e\u30b5\u30a4\u30ba\u304c\u3042\u307e\u308a\u5927\u304d\u304f\u306a\u3044\u305f\u3081, \u305d\u308c\u307b\u3069\u82e6\u52b4\u3057\u306a\u3044\u306e\u3067\u3059\u304c, \u3042\u308b\u7a0b\u5ea6\u9032\u3093\u3067\u304f\u308b\u3068\u305d\u308c\u306a\u308a\u306b\u5927\u304d\u306a\u5c0e\u51fa\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081, \u306a\u304b\u306a\u304b\u82e6\u52b4\u3057\u307e\u3059. \u4ee5\u4e0b\u306f\u3042\u308b\u554f\u984c\u306e\u5c0e\u51fa\u306e\u4f8b:<\/p>\n

\"\u5927\u304d\u3044\u5c0e\u51fa\u6728\u306e\u4f8b\"<\/a><\/p>\n

vim-copl<\/h2>\n

vim-copl \u306f, Vim \u3067\u3053\u306e\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u306e\u5c0e\u51fa\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e, syntax hilighting \u3067\u3059. dein.vim \u3084 neobundle.vim \u306e\u3088\u3046\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u4f7f\u3046\u3068\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u307e\u3059. (\u30d5\u30a1\u30a4\u30eb\u6570\u306f\u5c11\u306a\u3044\u306e\u3067\u624b\u52d5\u3067\u3082\u5341\u5206\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u307e\u3059.)<\/p>\n

\" dein.vim\r\ncall dein#add('ymyzk\/vim-copl')<\/code><\/pre>\n
\" neobundle.vim\r\nNeoBundle 'ymyzk\/vim-copl'<\/code><\/pre>\n

\u30d5\u30a1\u30a4\u30eb\u306e\u62e1\u5f35\u5b50\u3092 .copl<\/code> \u3068\u3059\u308b\u3068, \u3053\u306e\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u8a8d\u8b58\u3055\u308c, syntax highlighting \u304c\u9069\u7528\u3055\u308c\u307e\u3059. \u4f7f\u7528\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059.<\/p>\n

\"vim-copl<\/a><\/p>\n

OCaml \u306e syntax highlighting \u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u307e\u3059.<\/p>\n

\u6700\u5f8c\u306b<\/h2>\n

vim-copl \u306e\u958b\u767a\u3092\u884c\u3044\u306a\u304c\u3089\u5b9f\u969b\u306b\u5168\u3066\u306e\u6f14\u7fd2\u554f\u984c\u3092\u89e3\u3044\u3066\u307f\u307e\u3057\u305f. \u8907\u96d1\u306a\u5c0e\u51fa\u306e\u554f\u984c\u3092\u89e3\u304f\u305f\u3081\u306b, \u81ea\u5206\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u554f\u984c\u3092\u89e3\u304f\u4eba\u3082\u591a\u304f\u3044\u308b\u3088\u3046\u3067\u3059\u304c,\u00a0\u00a0syntax hilighting \u304c\u3042\u308c\u3070, \u624b\u52d5\u3067\u3082\u5341\u5206\u306b\u554f\u984c\u3092\u89e3\u3051\u308b\u3068\u611f\u3058\u307e\u3057\u305f.<\/p>\n

\u30d0\u30b0\u7b49\u306e\u6307\u6458\u306f\u5927\u6b53\u8fce\u3067\u3059. \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f MIT \u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u516c\u958b\u3057\u3066\u3044\u307e\u3059. vim-copl \u306e\u30b3\u30fc\u30c9\u3092\u3082\u3068\u306b, \u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u7bc4\u56f2\u5185\u3067, \u4ed6\u306e\u30a8\u30c7\u30a3\u30bf\u5411\u3051\u306b\u540c\u69d8\u306e\u3082\u306e\u3092\u4f5c\u6210\u3057\u3066\u3044\u305f\u3060\u3044\u3066\u69cb\u3044\u307e\u305b\u3093.<\/p>\n","protected":false},"excerpt":{"rendered":"

Vim \u3067\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u57fa\u790e\u6982\u5ff5\u300d\u306e\u6f14\u7fd2\u30b7\u30b9\u30c6\u30e0\u306e\u5c0e\u51fa\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e syntax highlighting \u3067\u3042\u308b\u00a0vim-copl \u3092\u516c\u958b\u3057\u307e\u3057\u305f.<\/p>\n","protected":false},"author":2,"featured_media":1385,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,18],"tags":[20],"_links":{"self":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/1347"}],"collection":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/comments?post=1347"}],"version-history":[{"count":47,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/1347\/revisions"}],"predecessor-version":[{"id":1562,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/1347\/revisions\/1562"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/media\/1385"}],"wp:attachment":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/media?parent=1347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/categories?post=1347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/tags?post=1347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}