equal
deleted
inserted
replaced
39 (defface my/ag-path-face |
39 (defface my/ag-path-face |
40 '((t :inherit success)) |
40 '((t :inherit success)) |
41 "Face for line number.") |
41 "Face for line number.") |
42 |
42 |
43 (defvar my/ag-keywords |
43 (defvar my/ag-keywords |
44 '(("[1-9][0-9]\\{0,3\\}:" . (0 'my/ag-lineno-face)) |
44 '(("[1-9][0-9]\\{0,5\\}:" . (0 'my/ag-lineno-face)) |
45 ("^[^:]\\{4\\}.*" . (0 'my/ag-path-face)))) |
45 ("^[^:]\\{6\\}.*" . (0 'my/ag-path-face)))) |
46 |
46 |
47 (defun my/ag-font-lock-extend-region () |
47 (defun my/ag-font-lock-extend-region () |
48 (save-excursion |
48 (save-excursion |
49 (goto-char font-lock-beg) |
49 (goto-char font-lock-beg) |
50 (forward-line 2) |
50 (forward-line 2) |