Commits

alex koval committed e7b9a95

black theme

Comments (0)

Files changed (2)

configs/cfg_default_face.el

    )
   (mode-line-faces-dark)
   (org-todo-keyword-faces-dark)
-)
+  )
+
+
+(defun color-theme-avk-dark2 ()
+  (interactive)
+  (color-theme-avk-dark)
+  (custom-set-faces
+   '(default ((t (:background "gray12"))))
+   '(fringe ((t (:foreground "yellow2" :background "gray14"))))
+   )
+  )
+
 
 ; my 2 color themes
 (define-key global-map (kbd "C-z t 1") 'color-theme-avk-dark)
 (define-key global-map (kbd "C-z t 2") 'color-theme-avk-light)
+(define-key global-map (kbd "C-z t 3") 'color-theme-avk-dark2)
 
 ; my choice of programmer fonts
 (global-unset-key (kbd "C-z f"))

configs/cfg_flymake.el

  '(flymake-log-level 0))
 (custom-set-faces)
 
+
+
+
+; jslint (not working!)
+
+(when (load "flymake" t)
+  (defun flymake-jslint-init ()
+    (let* ((temp-file (flymake-init-create-temp-buffer-copy
+		       'flymake-create-temp-inplace))
+           (local-file (file-relative-name
+                        temp-file
+                        (file-name-directory buffer-file-name))))
+      (list "jslint" (list local-file))))
+
+  (setq flymake-err-line-patterns 
+	(cons '("^  [[:digit:]]+ \\([[:digit:]]+\\),\\([[:digit:]]+\\): \\(.+\\)$"  
+		nil 1 2 3)
+	      flymake-err-line-patterns))
+  
+  (add-to-list 'flymake-allowed-file-name-masks
+               '("\\.js\\'" flymake-jslint-init)))