4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gitattributes に lisp用正規表現を入れて diff を見やすくした

Last updated at Posted at 2014-08-16

これとか

これとか(scala)

これとか(各種正規表現詰め合わせ) を参考に。

結局自分で使ったのはこれ

[diff "lisp"]
# xfuncname = "^(\\(.*)$"
# xfuncname = "^(\\((cl-)?def(un|macro|method).*)$"
xfuncname = "^(\\((def|.*let|with-).*)$"

結果、diffはこうなります。いいね。defpackage/defvar/defun で区切られてる。

Screenshot_from_2014-08-16 22:46:35.png

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?