소스 검색

emacs.el: Reorder and add font-lock for keywords

pull/15/head
10sr 8 년 전
부모
커밋
373058388a
1개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. +12
    -4
      emacs.el

+ 12
- 4
emacs.el 파일 보기

@@ -1901,15 +1901,23 @@ This mode is a simplified version of `adoc-mode'."
"#"
`(
("^#.*\\|^;.*\\| #.*\\| ;.*" 0 font-lock-comment-face)
("\\b\\(indent_size\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(charset\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(root\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(indent_style\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(indent_size\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(tab_width\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(end_of_line\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(charset\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(trim_trailing_whitespace\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(insert_final_newline\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(max_line_length\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(end_of_line\\)[ \t]*=" 1 font-lock-keyword-face)
("\\b\\(root\\)[ \t]*=" 1 font-lock-keyword-face)

("=[ \t]*\\(true\\)\\b" 1 font-lock-constant-face)
("=[ \t]*\\(false\\)\\b" 1 font-lock-constant-face)
("=[ \t]*\\(lf\\)\\b" 1 font-lock-constant-face)
("=[ \t]*\\(cr\\)\\b" 1 font-lock-constant-face)
("=[ \t]*\\(crlf\\)\\b" 1 font-lock-constant-face)
("=[ \t]*\\(space\\)\\b" 1 font-lock-constant-face)
("=[ \t]*\\(tab\\)\\b" 1 font-lock-constant-face)
,@conf-font-lock-keywords)))

(add-to-list 'auto-mode-alist


불러오는 중...
취소
저장