commit 85c346208e1b0baaa22b52a068ad3ae0624c550b Author: kj Date: Sun Aug 2 01:57:21 2020 -0400 First commit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5145a35 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +ac-comphist.dat +.mc-lists.el +auto-save-list/* diff --git a/init.el b/init.el new file mode 100644 index 0000000..3e4e588 --- /dev/null +++ b/init.el @@ -0,0 +1,150 @@ +;Repositorio MELPA +(require 'package) +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) +;Directorio personalizado para mis themes +(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") +(package-initialize) + +;Aquí vienen cosas de los themes y los paquetes +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(ansi-color-names-vector + ["#212121" "#CC5542" "#6aaf50" "#7d7c61" "#5180b3" "#DC8CC3" "#9b55c3" "#bdbdb3"]) + '(compilation-message-face (quote default)) + '(custom-enabled-themes (quote (dracula))) + '(custom-safe-themes + (quote + ("c7eb06356fd16a1f552cfc40d900fe7326ae17ae7578f0ef5ba1edd4fdd09e58" "f3ab34b145c3b2a0f3a570ddff8fabb92dafc7679ac19444c31058ac305275e1" "dcdd1471fde79899ae47152d090e3551b889edf4b46f00df36d653adc2bf550d" "3994b1c5c1f412c025bb71b2df5973a421c257afee5278684639c205d79d93ee" default))) + '(fci-rule-color "#2e2e2e") + '(highlight-changes-colors (quote ("#FD5FF0" "#AE81FF"))) + '(highlight-tail-colors + (quote + (("#3C3D37" . 0) + ("#679A01" . 20) + ("#4BBEAE" . 30) + ("#1DB4D0" . 50) + ("#9A8F21" . 60) + ("#A75B00" . 70) + ("#F309DF" . 85) + ("#3C3D37" . 100)))) + '(inhibit-startup-screen t) + '(magit-diff-use-overlays nil) + '(package-selected-packages + (quote + (ac-emmet web-mode ac-html markdown-preview-mode multiple-cursors git-gutter powerline ample-zen-theme monokai-theme dracula-theme auto-complete windsize neotree all-the-icons spinner markdown-mode lv ht f evil dash-functional))) + '(pos-tip-background-color "#FFFACE") + '(pos-tip-foreground-color "#272822") + '(vc-annotate-background "#3b3b3b") + '(vc-annotate-color-map + (quote + ((20 . "#dd5542") + (40 . "#CC5542") + (60 . "#fb8512") + (80 . "#baba36") + (100 . "#bdbc61") + (120 . "#7d7c61") + (140 . "#6abd50") + (160 . "#6aaf50") + (180 . "#6aa350") + (200 . "#6a9550") + (220 . "#6a8550") + (240 . "#6a7550") + (260 . "#9b55c3") + (280 . "#6CA0A3") + (300 . "#528fd1") + (320 . "#5180b3") + (340 . "#6380b3") + (360 . "#DC8CC3")))) + '(vc-annotate-very-old-color "#DC8CC3") + '(weechat-color-list + (quote + (unspecified "#272822" "#3C3D37" "#F70057" "#F92672" "#86C30D" "#A6E22E" "#BEB244" "#E6DB74" "#40CAE4" "#66D9EF" "#FB35EA" "#FD5FF0" "#74DBCD" "#A1EFE4" "#F8F8F2" "#F8F8F0")))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) + + +(menu-bar-mode 0) ;Quitar menús +(tool-bar-mode 0) ;Quitar toolbar +(global-display-line-numbers-mode) ;Mostar número de línea +(setq auto-save-default nil) ;Deshabilitar #backups# de buffer +(setq make-backup-files nil) ;Deshabilitar ~backups +(global-auto-complete-mode 1) ;Activar auto-completar por defecto +(ac-config-default) +(cua-mode t) ;Usar CTRL+X, CTRL+C, CTRL+V y CTRL+Z para cortar, copiar, pegar y deshacer +(setq-default cursor-in-non-selected-windows nil) ;Desaparecer el cursor en frames no activos +;(global-set-key (kbd "TAB") 'tab-to-tab-stop) ;n tab = 2 espacio +;(global-set-key "\t" (lambda () (interactive) (insert-char 32 2))) ; Un tab = 2 espacios +(setq-default tab-width 2) +(setq tab-width 2 + c-basic-offset 2 + c-basic-indent 2 + tab-stop-list '(2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40) + js-indent-level 2 + css-indent-offset 2) +(c-set-offset 'case-label 2) +(c-set-offset 'statement-case-intro 2) +(setq-default indent-tabs-mode nil) ;Desabilitar tabs y usar espacios +(setq backward-delete-char-untabify-method 'hungry) ;Eliminar los falsos tabs con un solo delete +(global-set-key (kbd "C-a") 'mark-whole-buffer); Seleccionar todo con CTRL+a +(global-set-key (kbd "C-") 'shell) ;Abrir terminal + +;Neotree con iconitos y con tamaño dinámico y sin número de líneas +(require 'all-the-icons) +(require 'neotree) +(global-set-key [f9] 'neotree-toggle) +(setq neo-theme (if (display-graphic-p) 'icons 'all-the-icons)) +(setq neo-window-fixed-size nil) +(setq-default neo-show-hidden-files t) +(defun my/disable-line-numbers (&optional dummy) + (display-line-numbers-mode -1)) +(add-hook 'neo-after-create-hook 'my/disable-line-numbers) + +;Cambiar el tamaño a las v entanas +(require 'windsize) +(setq windsize-cols 1) +(setq windsize-rows 1) +(add-hook 'after-init-hook #'windsize-default-keybindings) + +;Git gutter - Marca si +(global-git-gutter-mode +1) + +;Cursoles múltiples +(require 'multiple-cursors) +(global-set-key (kbd "C-d") 'mc/edit-lines) ;Editar todas las lineas seleccionadas +(global-set-key (kbd "C->") 'mc/mark-next-like-this) ;Selecionar siguiente como el actual +(global-set-key (kbd "C-<") 'mc/mark-previous-like-this) ;Seleccionar anteriores como el actual +(global-set-key (kbd "C-S-d") 'mc/mark-all-like-this) ;Seleccionar todos como el actual +(global-set-key (kbd "C-S-") 'mc/add-cursor-on-click) ;Añadir cursor con clics + + +(require 'web-mode) +(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode)) +(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode)) +(add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode)) +(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode)) +(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode)) +(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode)) +(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode)) +(setq web-mode-css-indent-offset 2 + web-mode-code-indent-offset 2 + web-mode-sql-indent-offset 2 + web-mode-script-padding 2 + web-mode-markup-indent-offset 2) + +(powerline-default-theme); Habilitar powerline (esa línea bonita de abajo del editor) + +(require 'php-mode) +(add-hook 'php-mode-hook #'(lambda() + (php-enable-default-coding-style) + (setq c-basic-offset 2) +; (web-mode) + )) ;Pongo PHP siempre en webmode en caso de tener php-mode +; Cambio los tabs por 2 espacios (PSR recomienda 4, pero editores como atom y VScode al momento de que configuro esto usan 2 y prefiero mantener esa compatibilidad entre editores) +; Para PHP es recomendable instalar php-elisp: sudo apt install php-elisp diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..c2255cf --- /dev/null +++ b/readme.md @@ -0,0 +1,21 @@ +# Configuración inicial de emacs + +Esta configuración la he hecho para mi uso personal. Previamente he estado probando vim y si bien me gustó, la curva de aprendizaje me pareció demasido alta desde el principio, mientras que emacs tiene a su favor el que la curva inicial es batante baja: Un theme, un par de configuraciones a gusto y puedo usarlo casi de la misma manera que otros editores a los que estoy ya acostumbrado. + +Otra cosa que me ha hecho decidirme por emacs es [spacemacs](https://www.spacemacs.org/), ya que entre ver la personalización y que luego puedo tener todo prácticamente lo que vim y emacs me ofrecen en el mismo editor. + +## Instalación + +Si deseas clonar mi configuración, puedes clonar este repositorio: + +`git clone https://git.kj2.me/kj/confi-emacs-inicial.git ~/.emacs.d` + +Finalmente, teniendo emacs adentro, si es que quieres que neotree te muestre unos íconos bonitos, debes precionar ALT+M e ingresar este comando en el minibúfer: + +`all-the-icons-install-fonts` + +Y eso sería todo. + +## Consideraciones + +Esta configuración está hecha a mi medida, usos y juicio, pero el init.el lo he procurado comentar bastante para que sea sencillo entenderlo y que lo reedites a tu gusto. diff --git a/themes/pop-theme.el b/themes/pop-theme.el new file mode 100644 index 0000000..eeeede3 --- /dev/null +++ b/themes/pop-theme.el @@ -0,0 +1,263 @@ +;;; pop-theme.el --- Emacs Theme for System76's Pop!_OS + +;; Copyright (C) 2017 Rich Renomeron + +;; Author: Rich Renomeron +;; Version: 0.1 +;; Package-Requires: ((emacs "24")) +;; Intially Created with ThemeCreator, https://github.com/mswift42/themecreator. + + +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;; This file is not part of Emacs. + +;;; Commentary: + +;; The colors used in this theme were taken from the Pop! Syntax Theme +;; for Atom, by Luka Lazov. + +;;; Code: + + (deftheme pop "System76 Pop!_OS Theme for Emacs" ) + (let ((class '((class color) (min-colors 89))) + (fg1 "#FEFEFE") + (fg2 "#eaeaea") + (fg3 "#d5d5d5") + (fg4 "#c1c1c1") + (bg1 "#4e4844") + (bg2 "#5c5753") + (bg3 "#6a6562") + (bg4 "#787471") + (builtin "#1c8dcb") + (keyword "#ae81ff") + (const "#ffc83f") + (comment "#8B817A") + (func "#1c8dcb") + (str "#5af78e") + (type "#F3F96F") + (var "#FF6E70") + (warning "#ff8800") + (warning2 "#ff8800")) + (custom-theme-set-faces + 'pop + `(default ((,class (:background ,bg1 :foreground ,fg1)))) + `(font-lock-builtin-face ((,class (:foreground ,builtin)))) + `(font-lock-comment-face ((,class (:foreground ,comment)))) + `(font-lock-comment-delimiter-face ((t (:foreground ,comment)))) + `(font-lock-negation-char-face ((,class (:foreground ,const)))) + `(font-lock-reference-face ((,class (:foreground ,const)))) + `(font-lock-constant-face ((,class (:foreground ,const)))) + `(font-lock-doc-face ((,class (:foreground ,comment)))) + `(font-lock-function-name-face ((,class (:foreground ,func )))) + `(font-lock-keyword-face ((,class (:bold ,class :foreground ,keyword)))) + `(font-lock-string-face ((,class (:foreground ,str)))) + `(font-lock-type-face ((,class (:foreground ,type )))) + `(font-lock-variable-name-face ((,class (:foreground ,var)))) + `(font-lock-warning-face ((,class (:foreground ,warning :background ,bg2)))) + `(region ((,class (:background ,fg1 :foreground ,bg1)))) + `(highlight ((,class (:foreground ,fg3 :background ,bg3)))) + `(hl-line ((,class (:background ,bg2)))) + `(fringe ((,class (:background ,bg2 :foreground ,fg4)))) + `(cursor ((,class (:background ,bg3)))) + `(show-paren-match-face ((,class (:background ,warning)))) + `(isearch ((,class (:bold t :foreground ,warning :background ,bg3)))) + `(mode-line ((,class (:box (:line-width -1 :style released-button) :bold t :foreground ,fg4 :background ,bg2)))) + `(mode-line-inactive ((,class (:box (:line-width 1 :color nil :style pressed-button) :foreground ,comment :background ,bg1 :weight normal)))) + `(mode-line-buffer-id ((,class (:bold t :foreground ,func :background nil)))) + `(mode-line-highlight ((,class (:foreground ,keyword :box nil :weight bold)))) + `(mode-line-emphasis ((,class (:foreground ,fg1)))) + ;;;;; linum-mode + `(linum ((t (:foreground ,fg4 :background ,bg1)))) + `(vertical-border ((,class (:foreground ,fg3)))) + `(minibuffer-prompt ((,class (:bold t :foreground ,keyword)))) + `(default-italic ((,class (:italic t)))) + `(link ((,class (:foreground ,const :underline t)))) + `(org-code ((,class (:foreground ,fg2)))) + `(org-hide ((,class (:foreground ,fg4)))) + `(org-level-1 ((,class (:bold t :foreground ,fg2 :height 1.1)))) + `(org-level-2 ((,class (:bold nil :foreground ,fg3)))) + `(org-level-3 ((,class (:bold t :foreground ,fg4)))) + `(org-level-4 ((,class (:bold nil :foreground ,bg4)))) + `(org-date ((,class (:underline t :foreground ,var) ))) + `(org-footnote ((,class (:underline t :foreground ,fg4)))) + `(org-link ((,class (:underline t :foreground ,type )))) + `(org-special-keyword ((,class (:foreground ,func)))) + `(org-block ((,class (:foreground ,fg3)))) + `(org-quote ((,class (:inherit org-block :slant italic)))) + `(org-verse ((,class (:inherit org-block :slant italic)))) + `(org-todo ((,class (:box (:line-width 1 :color ,fg3) :foreground ,keyword :bold t)))) + `(org-done ((,class (:box (:line-width 1 :color ,bg3) :bold t :foreground ,bg4)))) + `(org-warning ((,class (:underline t :foreground ,warning)))) + `(org-agenda-structure ((,class (:weight bold :foreground ,fg3 :box (:color ,fg4) :background ,bg3)))) + `(org-agenda-date ((,class (:foreground ,var :height 1.1 )))) + `(org-agenda-date-weekend ((,class (:weight normal :foreground ,fg4)))) + `(org-agenda-date-today ((,class (:weight bold :foreground ,keyword :height 1.4)))) + `(org-agenda-done ((,class (:foreground ,bg4)))) + `(org-scheduled ((,class (:foreground ,type)))) + `(org-scheduled-today ((,class (:foreground ,func :weight bold :height 1.2)))) + `(org-ellipsis ((,class (:foreground ,builtin)))) + `(org-verbatim ((,class (:foreground ,fg4)))) + `(org-document-info-keyword ((,class (:foreground ,func)))) + `(font-latex-bold-face ((,class (:foreground ,type)))) + `(font-latex-italic-face ((,class (:foreground ,var :italic t)))) + `(font-latex-string-face ((,class (:foreground ,str)))) + `(font-latex-match-reference-keywords ((,class (:foreground ,const)))) + `(font-latex-match-variable-keywords ((,class (:foreground ,var)))) + `(ido-only-match ((,class (:foreground ,warning)))) + `(org-sexp-date ((,class (:foreground ,fg4)))) + `(ido-first-match ((,class (:foreground ,keyword :bold t)))) + `(gnus-header-content ((,class (:foreground ,keyword)))) + `(gnus-header-from ((,class (:foreground ,var)))) + `(gnus-header-name ((,class (:foreground ,type)))) + `(gnus-header-subject ((,class (:foreground ,func :bold t)))) + `(mu4e-view-url-number-face ((,class (:foreground ,type)))) + `(mu4e-cited-1-face ((,class (:foreground ,fg2)))) + `(mu4e-cited-7-face ((,class (:foreground ,fg3)))) + `(mu4e-header-marks-face ((,class (:foreground ,type)))) + `(ffap ((,class (:foreground ,fg4)))) + `(js2-private-function-call ((,class (:foreground ,const)))) + `(js2-jsdoc-html-tag-delimiter ((,class (:foreground ,str)))) + `(js2-jsdoc-html-tag-name ((,class (:foreground ,var)))) + `(js2-external-variable ((,class (:foreground ,type )))) + `(js2-function-param ((,class (:foreground ,const)))) + `(js2-jsdoc-value ((,class (:foreground ,str)))) + `(js2-private-member ((,class (:foreground ,fg3)))) + `(js3-warning-face ((,class (:underline ,keyword)))) + `(js3-error-face ((,class (:underline ,warning)))) + `(js3-external-variable-face ((,class (:foreground ,var)))) + `(js3-function-param-face ((,class (:foreground ,fg2)))) + `(js3-jsdoc-tag-face ((,class (:foreground ,keyword)))) + `(js3-instance-member-face ((,class (:foreground ,const)))) + `(warning ((,class (:foreground ,warning)))) + `(ac-completion-face ((,class (:underline t :foreground ,keyword)))) + `(info-quoted-name ((,class (:foreground ,builtin)))) + `(info-string ((,class (:foreground ,str)))) + `(icompletep-determined ((,class :foreground ,builtin))) + `(undo-tree-visualizer-current-face ((,class :foreground ,builtin))) + `(undo-tree-visualizer-default-face ((,class :foreground ,fg2))) + `(undo-tree-visualizer-unmodified-face ((,class :foreground ,var))) + `(undo-tree-visualizer-register-face ((,class :foreground ,type))) + `(slime-repl-inputed-output-face ((,class (:foreground ,type)))) + `(trailing-whitespace ((,class :foreground nil :background ,warning))) + `(rainbow-delimiters-depth-1-face ((,class :foreground ,fg1))) + `(rainbow-delimiters-depth-2-face ((,class :foreground ,type))) + `(rainbow-delimiters-depth-3-face ((,class :foreground ,var))) + `(rainbow-delimiters-depth-4-face ((,class :foreground ,const))) + `(rainbow-delimiters-depth-5-face ((,class :foreground ,keyword))) + `(rainbow-delimiters-depth-6-face ((,class :foreground ,fg1))) + `(rainbow-delimiters-depth-7-face ((,class :foreground ,type))) + `(rainbow-delimiters-depth-8-face ((,class :foreground ,var))) + `(magit-item-highlight ((,class :background ,bg3))) + `(magit-section-heading ((,class (:foreground ,keyword :weight bold)))) + `(magit-hunk-heading ((,class (:background ,bg3)))) + `(magit-section-highlight ((,class (:background ,bg2)))) + `(magit-hunk-heading-highlight ((,class (:background ,bg3)))) + `(magit-diff-context-highlight ((,class (:background ,bg3 :foreground ,fg3)))) + `(magit-diffstat-added ((,class (:foreground ,type)))) + `(magit-diffstat-removed ((,class (:foreground ,var)))) + `(magit-process-ok ((,class (:foreground ,func :weight bold)))) + `(magit-process-ng ((,class (:foreground ,warning :weight bold)))) + `(magit-branch ((,class (:foreground ,const :weight bold)))) + `(magit-log-author ((,class (:foreground ,fg3)))) + `(magit-hash ((,class (:foreground ,fg2)))) + `(magit-diff-file-header ((,class (:foreground ,fg2 :background ,bg3)))) + `(lazy-highlight ((,class (:foreground ,fg2 :background ,bg3)))) + `(term ((,class (:foreground ,fg1 :background ,bg1)))) + `(term-color-black ((,class (:foreground ,bg3 :background ,bg3)))) + `(term-color-blue ((,class (:foreground ,func :background ,func)))) + `(term-color-red ((,class (:foreground ,keyword :background ,bg3)))) + `(term-color-green ((,class (:foreground ,type :background ,bg3)))) + `(term-color-yellow ((,class (:foreground ,var :background ,var)))) + `(term-color-magenta ((,class (:foreground ,builtin :background ,builtin)))) + `(term-color-cyan ((,class (:foreground ,str :background ,str)))) + `(term-color-white ((,class (:foreground ,fg2 :background ,fg2)))) + `(rainbow-delimiters-unmatched-face ((,class :foreground ,warning))) + `(helm-header ((,class (:foreground ,fg2 :background ,bg1 :underline nil :box nil)))) + `(helm-source-header ((,class (:foreground ,keyword :background ,bg1 :underline nil :weight bold)))) + `(helm-selection ((,class (:background ,bg2 :underline nil)))) + `(helm-selection-line ((,class (:background ,bg2)))) + `(helm-visible-mark ((,class (:foreground ,bg1 :background ,bg3)))) + `(helm-candidate-number ((,class (:foreground ,bg1 :background ,fg1)))) + `(helm-separator ((,class (:foreground ,type :background ,bg1)))) + `(helm-time-zone-current ((,class (:foreground ,builtin :background ,bg1)))) + `(helm-time-zone-home ((,class (:foreground ,type :background ,bg1)))) + `(helm-buffer-not-saved ((,class (:foreground ,type :background ,bg1)))) + `(helm-buffer-process ((,class (:foreground ,builtin :background ,bg1)))) + `(helm-buffer-saved-out ((,class (:foreground ,fg1 :background ,bg1)))) + `(helm-buffer-size ((,class (:foreground ,fg1 :background ,bg1)))) + `(helm-ff-directory ((,class (:foreground ,func :background ,bg1 :weight bold)))) + `(helm-ff-file ((,class (:foreground ,fg1 :background ,bg1 :weight normal)))) + `(helm-ff-executable ((,class (:foreground ,var :background ,bg1 :weight normal)))) + `(helm-ff-invalid-symlink ((,class (:foreground ,warning2 :background ,bg1 :weight bold)))) + `(helm-ff-symlink ((,class (:foreground ,keyword :background ,bg1 :weight bold)))) + `(helm-ff-prefix ((,class (:foreground ,bg1 :background ,keyword :weight normal)))) + `(helm-grep-cmd-line ((,class (:foreground ,fg1 :background ,bg1)))) + `(helm-grep-file ((,class (:foreground ,fg1 :background ,bg1)))) + `(helm-grep-finish ((,class (:foreground ,fg2 :background ,bg1)))) + `(helm-grep-lineno ((,class (:foreground ,fg1 :background ,bg1)))) + `(helm-grep-match ((,class (:foreground nil :background nil :inherit helm-match)))) + `(helm-grep-running ((,class (:foreground ,func :background ,bg1)))) + `(helm-moccur-buffer ((,class (:foreground ,func :background ,bg1)))) + `(helm-source-go-package-godoc-description ((,class (:foreground ,str)))) + `(helm-bookmark-w3m ((,class (:foreground ,type)))) + `(company-echo-common ((,class (:foreground ,bg1 :background ,fg1)))) + `(company-preview ((,class (:background ,bg1 :foreground ,var)))) + `(company-preview-common ((,class (:foreground ,bg2 :foreground ,fg3)))) + `(company-preview-search ((,class (:foreground ,type :background ,bg1)))) + `(company-scrollbar-bg ((,class (:background ,bg3)))) + `(company-scrollbar-fg ((,class (:foreground ,keyword)))) + `(company-tooltip ((,class (:foreground ,fg2 :background ,bg1 :bold t)))) + `(company-tooltop-annotation ((,class (:foreground ,const)))) + `(company-tooltip-common ((,class ( :foreground ,fg3)))) + `(company-tooltip-common-selection ((,class (:foreground ,str)))) + `(company-tooltip-mouse ((,class (:inherit highlight)))) + `(company-tooltip-selection ((,class (:background ,bg3 :foreground ,fg3)))) + `(company-template-field ((,class (:inherit region)))) + `(web-mode-builtin-face ((,class (:inherit ,font-lock-builtin-face)))) + `(web-mode-comment-face ((,class (:inherit ,font-lock-comment-face)))) + `(web-mode-css-at-rule-face ((t (:foreground ,keyword )))) + `(web-mode-css-prop-face ((t (:foreground ,const)))) + `(web-mode-css-pseudo-class-face ((t (:foreground ,const :weight bold)))) + `(web-mode-css-rule-face ((t (:foreground ,const)))) + `(web-mode-constant-face ((,class (:inherit ,font-lock-constant-face)))) + `(web-mode-keyword-face ((,class (:foreground ,keyword)))) + `(web-mode-doctype-face ((,class (:inherit ,font-lock-comment-face)))) + `(web-mode-function-name-face ((,class (:inherit ,font-lock-function-name-face)))) + `(web-mode-string-face ((,class (:foreground ,str)))) + `(web-mode-type-face ((,class (:inherit ,font-lock-type-face)))) + `(web-mode-html-attr-name-face ((,class (:foreground ,func)))) + `(web-mode-html-attr-value-face ((,class (:foreground ,keyword)))) + `(web-mode-warning-face ((,class (:inherit ,font-lock-warning-face)))) + `(web-mode-html-tag-face ((,class (:foreground ,builtin)))) + `(jde-java-font-lock-package-face ((t (:foreground ,var)))) + `(jde-java-font-lock-public-face ((t (:foreground ,keyword)))) + `(jde-java-font-lock-private-face ((t (:foreground ,keyword)))) + `(jde-java-font-lock-constant-face ((t (:foreground ,const)))) + `(jde-java-font-lock-modifier-face ((t (:foreground ,fg2)))) + `(jde-jave-font-lock-protected-face ((t (:foreground ,keyword)))) + `(jde-java-font-lock-number-face ((t (:foreground ,var)))))) + +;;;###autoload +(when load-file-name + (add-to-list 'custom-theme-load-path + (file-name-as-directory (file-name-directory load-file-name)))) + +(provide-theme 'pop) + +;; Local Variables: +;; no-byte-compile: t +;; End: + +;;; pop-theme.el ends here