Eliinado web-mode.

This commit is contained in:
kj 2021-08-03 23:50:48 -04:00
parent 1e208cf528
commit 65210e727b
26 changed files with 777 additions and 15110 deletions

View File

@ -18,13 +18,13 @@
("Leo Liu" . "sdl.web@gmail.com")) ("Leo Liu" . "sdl.web@gmail.com"))
(:keywords "tools" "processes" "convenience"))]) (:keywords "tools" "processes" "convenience"))])
(ada-mode . (ada-mode .
[(7 1 4) [(7 1 6)
((uniquify-files ((uniquify-files
(1 0 1)) (1 0 1))
(wisi (wisi
(3 1 2)) (3 1 3))
(emacs (emacs
(25 0))) (25 3)))
"major-mode for editing Ada sources" tar "major-mode for editing Ada sources" tar
((:url . "http://www.nongnu.org/ada-mode/") ((:url . "http://www.nongnu.org/ada-mode/")
(:maintainer "Stephen Leake" . "stephen_leake@stephe-leake.org") (:maintainer "Stephen Leake" . "stephen_leake@stephe-leake.org")
@ -74,17 +74,15 @@
(:keywords "minibuffer" "completion") (:keywords "minibuffer" "completion")
(:url . "https://elpa.gnu.org/packages/aggressive-completion.html"))]) (:url . "https://elpa.gnu.org/packages/aggressive-completion.html"))])
(aggressive-indent . (aggressive-indent .
[(1 8 3) [(1 10 0)
((emacs ((emacs
(24 1)) (24 3)))
(cl-lib "Minor mode to aggressively keep your code always indented" tar
(0 5))) ((:url . "https://github.com/Malabarba/aggressive-indent-mode")
"Minor mode to aggressively keep your code always indented" single (:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com")
((:keywords "indent" "lisp" "maint" "tools")
(:authors (:authors
("Artur Malabarba" . "emacs@endlessparentheses.com")) ("Artur Malabarba" . "emacs@endlessparentheses.com"))
(:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com") (:keywords "indent" "lisp" "maint" "tools"))])
(:url . "https://github.com/Malabarba/aggressive-indent-mode"))])
(ahungry-theme . (ahungry-theme .
[(1 10 0) [(1 10 0)
((emacs ((emacs
@ -390,7 +388,7 @@
("Ingo Lohmar" . "i.lohmar@gmail.com")) ("Ingo Lohmar" . "i.lohmar@gmail.com"))
(:keywords "abbrev" "convenience" "matching"))]) (:keywords "abbrev" "convenience" "matching"))])
(consult . (consult .
[(0 8) [(0 9)
((emacs ((emacs
(26 1))) (26 1)))
"Consulting completing-read" tar "Consulting completing-read" tar
@ -409,7 +407,7 @@
("Jackson Ray Hamilton" . "jackson@jacksonrayhamilton.com")) ("Jackson Ray Hamilton" . "jackson@jacksonrayhamilton.com"))
(:keywords "convenience" "faces" "tools"))]) (:keywords "convenience" "faces" "tools"))])
(corfu . (corfu .
[(0 8) [(0 10)
((emacs ((emacs
(27 1))) (27 1)))
"Completion Overlay Region FUnction" tar "Completion Overlay Region FUnction" tar
@ -480,7 +478,7 @@
("João Távora" . "joaotavora@gmail.com")) ("João Távora" . "joaotavora@gmail.com"))
(:maintainer "João Távora" . "joaotavora@gmail.com"))]) (:maintainer "João Távora" . "joaotavora@gmail.com"))])
(dash . (dash .
[(2 18 1) [(2 19 0)
((emacs ((emacs
(24))) (24)))
"A modern list library for Emacs" tar "A modern list library for Emacs" tar
@ -524,11 +522,11 @@
(:maintainer "Phil Sainty" . "psainty@orcon.net.nz") (:maintainer "Phil Sainty" . "psainty@orcon.net.nz")
(:url . "https://savannah.nongnu.org/projects/delight"))]) (:url . "https://savannah.nongnu.org/projects/delight"))])
(devdocs . (devdocs .
[(0 1) [(0 2)
((emacs ((emacs
(27 1))) (27 1)))
"Emacs viewer for DevDocs" tar "Emacs viewer for DevDocs" tar
((:url . "https://github.com/astoff/devdocs") ((:url . "https://github.com/astoff/devdocs.el")
(:maintainer "Augusto Stoffel" . "arstoffel@gmail.com") (:maintainer "Augusto Stoffel" . "arstoffel@gmail.com")
(:authors (:authors
("Augusto Stoffel" . "arstoffel@gmail.com")) ("Augusto Stoffel" . "arstoffel@gmail.com"))
@ -648,7 +646,7 @@
("Leo Liu" . "sdl.web@gmail.com")) ("Leo Liu" . "sdl.web@gmail.com"))
(:keywords "killing" "convenience"))]) (:keywords "killing" "convenience"))])
(ebdb . (ebdb .
[(0 6 23) [(0 7)
((emacs ((emacs
(25 1)) (25 1))
(cl-lib (cl-lib
@ -692,7 +690,7 @@
(:maintainer "Markus Triska" . "triska@metalevel.at") (:maintainer "Markus Triska" . "triska@metalevel.at")
(:url . "https://www.metalevel.at/ediprolog/"))]) (:url . "https://www.metalevel.at/ediprolog/"))])
(eev . (eev .
[(20210607) [(20210710)
((emacs ((emacs
(24 4))) (24 4)))
"Support for e-scripts (eepitch blocks, elisp hyperlinks, etc)" tar "Support for e-scripts (eepitch blocks, elisp hyperlinks, etc)" tar
@ -768,7 +766,7 @@
(:keywords "languages" "lisp") (:keywords "languages" "lisp")
(:url . "https://elpa.gnu.org/packages/elisp-benchmarks.html"))]) (:url . "https://elpa.gnu.org/packages/elisp-benchmarks.html"))])
(emms . (emms .
[(7 2) [(7 5)
((cl-lib ((cl-lib
(0 5)) (0 5))
(nadvice (nadvice
@ -926,6 +924,16 @@
(:authors (:authors
("Magnus Henoch" . "magnus.henoch@gmail.com")) ("Magnus Henoch" . "magnus.henoch@gmail.com"))
(:maintainer "Thomas Fitzsimmons" . "fitzsim@fitzsim.org"))]) (:maintainer "Thomas Fitzsimmons" . "fitzsim@fitzsim.org"))])
(ftable .
[(1 0)
((emacs
(26 0)))
"Fill a table to fit in n columns" tar
((:url . "https://github.com/casouri/ftable")
(:maintainer "Yuan Fu" . "casouri@gmail.com")
(:authors
("Yuan Fu" . "casouri@gmail.com"))
(:keywords "convenience" "text" "table"))])
(gcmh . (gcmh .
[(0 2 1) [(0 2 1)
((emacs ((emacs
@ -1209,7 +1217,7 @@
("Oleh Krehel" . "ohwoeowho@gmail.com")) ("Oleh Krehel" . "ohwoeowho@gmail.com"))
(:keywords "convenience"))]) (:keywords "convenience"))])
(ivy-posframe . (ivy-posframe .
[(0 6 0) [(0 6 1)
((emacs ((emacs
(26 0)) (26 0))
(posframe (posframe
@ -1313,7 +1321,7 @@
("Terrence Brannon" . "metaperl@gmail.com")) ("Terrence Brannon" . "metaperl@gmail.com"))
(:maintainer nil . "emacs-devel@gnu.org"))]) (:maintainer nil . "emacs-devel@gnu.org"))])
(leaf . (leaf .
[(4 4 8) [(4 5 2)
((emacs ((emacs
(24 1))) (24 1)))
"Simplify your init.el configuration, extended use-package" tar "Simplify your init.el configuration, extended use-package" tar
@ -1394,7 +1402,7 @@
(:keywords "extensions" "lisp") (:keywords "extensions" "lisp")
(:url . "https://elpa.gnu.org/packages/map.html"))]) (:url . "https://elpa.gnu.org/packages/map.html"))])
(marginalia . (marginalia .
[(0 6) [(0 7)
((emacs ((emacs
(26 1))) (26 1)))
"Enrich existing commands with completion annotations" tar "Enrich existing commands with completion annotations" tar
@ -1494,7 +1502,7 @@
("Protesilaos Stavrou" . "info@protesilaos.com")) ("Protesilaos Stavrou" . "info@protesilaos.com"))
(:keywords "faces" "theme" "accessibility"))]) (:keywords "faces" "theme" "accessibility"))])
(modus-themes . (modus-themes .
[(1 4 0) [(1 5 0)
((emacs ((emacs
(26 1))) (26 1)))
"Highly accessible themes (WCAG AAA)" tar "Highly accessible themes (WCAG AAA)" tar
@ -1786,7 +1794,7 @@
("Phillip Lord" . "phillip.lord@russet.org.uk")) ("Phillip Lord" . "phillip.lord@russet.org.uk"))
(:url . "http://elpa.gnu.org/packages/persist.html"))]) (:url . "http://elpa.gnu.org/packages/persist.html"))])
(phps-mode . (phps-mode .
[(0 4 3) [(0 4 4)
((emacs ((emacs
(26))) (26)))
"Major mode for PHP with Semantic integration" tar "Major mode for PHP with Semantic integration" tar
@ -1812,7 +1820,7 @@
("Mario Lang" . "mlang@delysid.org")) ("Mario Lang" . "mlang@delysid.org"))
(:maintainer "Mario Lang" . "mlang@delysid.org"))]) (:maintainer "Mario Lang" . "mlang@delysid.org"))])
(posframe . (posframe .
[(1 0 3) [(1 0 4)
((emacs ((emacs
(26))) (26)))
"Pop a posframe (just a frame) at point" tar "Pop a posframe (just a frame) at point" tar
@ -1847,14 +1855,14 @@
("Scott Andrew Borton" . "scott@pp.htv.fi")) ("Scott Andrew Borton" . "scott@pp.htv.fi"))
(:maintainer "John Darrington" . "john@darrington.wattle.id.au"))]) (:maintainer "John Darrington" . "john@darrington.wattle.id.au"))])
(pyim . (pyim .
[(3 7 9) [(3 9 4)
((emacs ((emacs
(24 4)) (24 4))
(async (async
(1 6)) (1 6))
(xr (xr
(1 13))) (1 13)))
"A Chinese input method support quanpin, shuangpin, wubi and cangjie." tar "A Chinese input method support quanpin, shuangpin, wubi, cangjie and rime." tar
((:url . "https://github.com/tumashu/pyim") ((:url . "https://github.com/tumashu/pyim")
(:maintainer "Feng Shu" . "tumashu@163.com") (:maintainer "Feng Shu" . "tumashu@163.com")
(:authors (:authors
@ -2151,14 +2159,14 @@
(:keywords "sequences") (:keywords "sequences")
(:url . "http://elpa.gnu.org/packages/seq.html"))]) (:url . "http://elpa.gnu.org/packages/seq.html"))])
(setup . (setup .
[(0 2 0) [(0 2 1)
((emacs ((emacs
(26 1))) (26 1)))
"Helpful Configuration Macro" tar "Helpful Configuration Macro" tar
((:url . "https://git.sr.ht/~zge/setup") ((:url . "https://git.sr.ht/~zge/setup")
(:maintainer "Philip K." . "philipk@posteo.net") (:maintainer "Philip Kaludercic" . "philipk@posteo.net")
(:authors (:authors
("Philip K." . "philipk@posteo.net")) ("Philip Kaludercic" . "philipk@posteo.net"))
(:keywords "lisp" "local"))]) (:keywords "lisp" "local"))])
(shelisp . (shelisp .
[(0 9 1) [(0 9 1)
@ -2195,7 +2203,7 @@
(:maintainer "Ralph Amissah" . "ralph.amissah@gmail.com") (:maintainer "Ralph Amissah" . "ralph.amissah@gmail.com")
(:url . "http://www.sisudoc.org/"))]) (:url . "http://www.sisudoc.org/"))])
(slime-volleyball . (slime-volleyball .
[(1 1 7) [(1 2 0)
((cl-lib ((cl-lib
(0 5))) (0 5)))
"An SVG Slime Volleyball Game" tar "An SVG Slime Volleyball Game" tar
@ -2203,7 +2211,7 @@
(:authors (:authors
("Thomas Fitzsimmons" . "fitzsim@fitzsim.org")) ("Thomas Fitzsimmons" . "fitzsim@fitzsim.org"))
(:keywords "games") (:keywords "games")
(:url . "http://elpa.gnu.org/packages/slime-volleyball.html"))]) (:url . "https://elpa.gnu.org/packages/slime-volleyball.html"))])
(sm-c-mode . (sm-c-mode .
[(1 1) [(1 1)
nil "C major mode based on SMIE" single nil "C major mode based on SMIE" single
@ -2289,13 +2297,15 @@
(:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com") (:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com")
(:url . "https://github.com/Malabarba/speed-of-thought-lisp"))]) (:url . "https://github.com/Malabarba/speed-of-thought-lisp"))])
(spinner . (spinner .
[(1 7 3) [(1 7 4)
nil "Add spinners and progress-bars to the mode-line for ongoing operations" single ((emacs
((:keywords "processes" "mode-line") (24 3)))
"Add spinners and progress-bars to the mode-line for ongoing operations" tar
((:url . "https://github.com/Malabarba/spinner.el")
(:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com")
(:authors (:authors
("Artur Malabarba" . "emacs@endlessparentheses.com")) ("Artur Malabarba" . "emacs@endlessparentheses.com"))
(:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com") (:keywords "processes" "mode-line"))])
(:url . "https://github.com/Malabarba/spinner.el"))])
(sql-beeline . (sql-beeline .
[(0 1) [(0 1)
nil "Beeline support for sql.el" single nil "Beeline support for sql.el" single
@ -2305,7 +2315,7 @@
("Filipp Gunbin" . "fgunbin@fastmail.fm")) ("Filipp Gunbin" . "fgunbin@fastmail.fm"))
(:maintainer "Filipp Gunbin" . "fgunbin@fastmail.fm"))]) (:maintainer "Filipp Gunbin" . "fgunbin@fastmail.fm"))])
(sql-indent . (sql-indent .
[(1 5) [(1 6)
((cl-lib ((cl-lib
(0 5))) (0 5)))
"Support for indenting code in SQL files." tar "Support for indenting code in SQL files." tar
@ -2315,7 +2325,7 @@
("Alex Harsanyi" . "AlexHarsanyi@gmail.com")) ("Alex Harsanyi" . "AlexHarsanyi@gmail.com"))
(:keywords "languages" "sql"))]) (:keywords "languages" "sql"))])
(ssh-deploy . (ssh-deploy .
[(3 1 12) [(3 1 13)
((emacs ((emacs
(25))) (25)))
"Deployment via Tramp, global or per directory." tar "Deployment via Tramp, global or per directory." tar
@ -2428,7 +2438,7 @@
("Oleh Krehel" . "ohwoeowho@gmail.com")) ("Oleh Krehel" . "ohwoeowho@gmail.com"))
(:keywords "convenience"))]) (:keywords "convenience"))])
(tramp . (tramp .
[(2 5 0 5) [(2 5 1 1)
((emacs ((emacs
(25 1))) (25 1)))
"Transparent Remote Access, Multiple Protocol" tar "Transparent Remote Access, Multiple Protocol" tar
@ -2455,7 +2465,7 @@
("David Gonzalez Gandara" . "dggandara@member.fsf.org")) ("David Gonzalez Gandara" . "dggandara@member.fsf.org"))
(:maintainer "David Gonzalez Gandara" . "dggandara@member.fsf.org"))]) (:maintainer "David Gonzalez Gandara" . "dggandara@member.fsf.org"))])
(transient . (transient .
[(0 3 4) [(0 3 6)
((emacs ((emacs
(25 1))) (25 1)))
"Transient commands" tar "Transient commands" tar
@ -2535,6 +2545,16 @@
(:authors (:authors
("Yuan Fu" . "casouri@gmail.com")) ("Yuan Fu" . "casouri@gmail.com"))
(:keywords "convenience" "text" "table"))]) (:keywords "convenience" "text" "table"))])
(vc-hgcmd .
[(1 14)
((emacs
(25 1)))
"VC mercurial backend that uses hg command server" tar
((:url . "https://github.com/muffinmad/emacs-vc-hgcmd")
(:maintainer "Andrii Kolomoiets" . "andreyk.mad@gmail.com")
(:authors
("Andrii Kolomoiets" . "andreyk.mad@gmail.com"))
(:keywords "vc"))])
(vcard . (vcard .
[(0 2 1) [(0 2 1)
((emacs ((emacs
@ -2574,7 +2594,7 @@
("Wilson Snyder" . "wsnyder@wsnyder.org")) ("Wilson Snyder" . "wsnyder@wsnyder.org"))
(:keywords "languages"))]) (:keywords "languages"))])
(vertico . (vertico .
[(0 11) [(0 12)
((emacs ((emacs
(27 1))) (27 1)))
"VERTical Interactive COmpletion" tar "VERTical Interactive COmpletion" tar
@ -2691,9 +2711,9 @@
("Bastien" . "bzg@gnu.org")) ("Bastien" . "bzg@gnu.org"))
(:maintainer "Bastien" . "bzg@gnu.org"))]) (:maintainer "Bastien" . "bzg@gnu.org"))])
(wisi . (wisi .
[(3 1 3) [(3 1 5)
((emacs ((emacs
(25 0)) (25 3))
(seq (seq
(2 20))) (2 20)))
"Utilities for implementing an indentation/navigation engine using a generalized LALR parser" tar "Utilities for implementing an indentation/navigation engine using a generalized LALR parser" tar

View File

@ -1 +1 @@
Good signature from 066DAFCB81E42C40 GNU ELPA Signing Agent (2019) <elpasign@elpa.gnu.org> (trust undefined) created at 2021-06-07T05:05:02-0400 using RSA Good signature from 066DAFCB81E42C40 GNU ELPA Signing Agent (2019) <elpasign@elpa.gnu.org> (trust undefined) created at 2021-08-03T05:05:02-0400 using RSA

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,7 @@
;;;###autoload ;;;###autoload
(defgroup php-faces nil (defgroup php-faces nil
"Faces used in PHP Mode" "Faces used in PHP Mode."
:tag "PHP Faces" :tag "PHP Faces"
:group 'php-mode :group 'php-mode
:group 'faces) :group 'faces)
@ -206,7 +206,7 @@
:tag "PHP Class Declaration") :tag "PHP Class Declaration")
(defface php-class-declaration-spec '((t (:inherit php-keyword))) (defface php-class-declaration-spec '((t (:inherit php-keyword)))
"PHP Mode Face used to highlight class declaration specification keywords (implements, extends)" "PHP Mode Face used to highlight class declaration specification keywords (implements, extends)."
:group 'php-faces :group 'php-faces
:tag "PHP Class Declaration Specification") :tag "PHP Class Declaration Specification")

Binary file not shown.

View File

@ -12,16 +12,24 @@
(let ((loads (get 'php 'custom-loads))) (if (member '"php" loads) nil (put 'php 'custom-loads (cons '"php" loads)))) (let ((loads (get 'php 'custom-loads))) (if (member '"php" loads) nil (put 'php 'custom-loads (cons '"php" loads))))
(autoload 'php-mode-maybe "php" "\ (autoload 'php-mode-maybe "php" "\
Select PHP mode or other major mode." t nil) Select PHP mode or other major mode.
\(fn)" t nil)
(autoload 'php-current-class "php" "\ (autoload 'php-current-class "php" "\
Insert current class name if cursor in class context." t nil) Insert current class name if cursor in class context.
\(fn)" t nil)
(autoload 'php-current-namespace "php" "\ (autoload 'php-current-namespace "php" "\
Insert current namespace if cursor in namespace context." t nil) Insert current namespace if cursor in namespace context.
\(fn)" t nil)
(autoload 'php-copyit-fqsen "php" "\ (autoload 'php-copyit-fqsen "php" "\
Copy/kill class/method FQSEN." t nil) Copy/kill class/method FQSEN.
\(fn)" t nil)
(autoload 'php-run-builtin-web-server "php" "\ (autoload 'php-run-builtin-web-server "php" "\
Run PHP Built-in web server. Run PHP Built-in web server.
@ -48,16 +56,13 @@ Find php.ini FILE by `php --ini'.
;;; Generated autoloads from php-align.el ;;; Generated autoloads from php-align.el
(autoload 'php-align-setup "php-align" "\ (autoload 'php-align-setup "php-align" "\
Setup alignment configuration for PHP code." nil nil) Setup alignment configuration for PHP code.
\(fn)" nil nil)
(autoload 'php-align-mode "php-align" "\ (autoload 'php-align-mode "php-align" "\
Alignment lines for PHP script. Alignment lines for PHP script.
If called interactively, enable Php-Align mode if ARG is
positive, and disable it if ARG is zero or negative. If called
from Lisp, also enable the mode if ARG is omitted or nil, and
toggle it if ARG is `toggle'; disable the mode otherwise.
\(fn &optional ARG)" t nil) \(fn &optional ARG)" t nil)
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "php-align" '("php-align-"))) (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "php-align" '("php-align-")))
@ -223,10 +228,14 @@ Function name or path to server-start script.")
(put 'php-project-server-start 'safe-local-variable #'(lambda (v) (or (functionp v) (php-project--eval-bootstrap-scripts v)))) (put 'php-project-server-start 'safe-local-variable #'(lambda (v) (or (functionp v) (php-project--eval-bootstrap-scripts v))))
(autoload 'php-project-get-bootstrap-scripts "php-project" "\ (autoload 'php-project-get-bootstrap-scripts "php-project" "\
Return list of bootstrap script." nil nil) Return list of bootstrap script.
\(fn)" nil nil)
(autoload 'php-project-get-root-dir "php-project" "\ (autoload 'php-project-get-root-dir "php-project" "\
Return path to current PHP project." nil nil) Return path to current PHP project.
\(fn)" nil nil)
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "php-project" '("php-project-"))) (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "php-project" '("php-project-")))

View File

@ -1,6 +1,6 @@
(define-package "php-mode" "20210519.1728" "Major mode for editing PHP code" (define-package "php-mode" "20210801.1818" "Major mode for editing PHP code"
'((emacs "25.2")) '((emacs "25.2"))
:commit "9561a6c0a92a3d7c00e7e57972f42cb5be775898" :authors :commit "8cd3f5d252accd60ece7a905c3fa79ae7f118c03" :authors
'(("Eric James Michael Ritz")) '(("Eric James Michael Ritz"))
:maintainer :maintainer
'("USAMI Kenta" . "tadsan@zonu.me") '("USAMI Kenta" . "tadsan@zonu.me")

View File

@ -458,7 +458,7 @@ PHP does not have an C-like \"enum\" keyword."
php (append (c-lang-const c-class-decl-kwds) '("function"))) php (append (c-lang-const c-class-decl-kwds) '("function")))
(c-lang-defconst c-modifier-kwds (c-lang-defconst c-modifier-kwds
php '("abstract" "const" "final" "static" "case")) php '("abstract" "const" "final" "static" "case" "readonly"))
(c-lang-defconst c-protection-kwds (c-lang-defconst c-protection-kwds
"Access protection label keywords in classes." "Access protection label keywords in classes."
@ -960,7 +960,7 @@ this ^ lineup"
(0 (ignore (php--syntax-propertize-quotes-in-comment (match-beginning 0))))))) (0 (ignore (php--syntax-propertize-quotes-in-comment (match-beginning 0)))))))
(defmacro php-build-propertize-function () (defmacro php-build-propertize-function ()
`(syntax-propertize-rules ,@php-syntax-propertize-rules)) `(byte-compile (syntax-propertize-rules ,@php-syntax-propertize-rules)))
(defalias 'php-syntax-propertize-function (php-build-propertize-function))) (defalias 'php-syntax-propertize-function (php-build-propertize-function)))

Binary file not shown.

View File

@ -220,11 +220,20 @@ it is the character that will terminate the string, or t if the string should be
(defsubst php-in-poly-php-html-mode () (defsubst php-in-poly-php-html-mode ()
"Return T if current buffer is in `poly-html-mode'." "Return T if current buffer is in `poly-html-mode'."
(and (boundp 'poly-php-html-mode) (bound-and-true-p poly-php-html-mode))
(symbol-value 'poly-php-html-mode)))
(defconst php-beginning-of-defun-regexp (defconst php-beginning-of-defun-regexp
"^\\s-*\\(?:\\(?:abstract\\|final\\|private\\|protected\\|public\\|static\\)\\s-+\\)*function\\s-+&?\\(\\(\\sw\\|\\s_\\)+\\)\\s-*(" (eval-when-compile
(rx bol
(* (syntax whitespace))
(* (or "abstract" "final" "private" "protected" "public" "static")
(+ (syntax whitespace)))
"function"
(+ (syntax whitespace))
(? "&" (* (syntax whitespace)))
(group (+ (or (syntax word) (syntax symbol))))
(* (syntax whitespace))
"("))
"Regular expression for a PHP function.") "Regular expression for a PHP function.")
(eval-when-compile (eval-when-compile

View File

@ -1,27 +0,0 @@
;;; web-mode-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (directory-file-name
(or (file-name-directory #$) (car load-path))))
;;;### (autoloads nil "web-mode" "web-mode.el" (0 0 0 0))
;;; Generated autoloads from web-mode.el
(autoload 'web-mode "web-mode" "\
Major mode for editing web templates.
\(fn)" t nil)
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "web-mode" '("web-mode-")))
;;;***
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; coding: utf-8
;; End:
;;; web-mode-autoloads.el ends here

View File

@ -1,2 +0,0 @@
;;; -*- no-byte-compile: t -*-
(define-package "web-mode" "20200826.1954" "major mode for editing web templates" '((emacs "23.1")) :commit "da53553fd4e876ac121994cc48e54ab54fa3ace7" :keywords '("languages") :authors '(("François-Xavier Bois <fxbois AT Google Mail Service>")) :maintainer '("François-Xavier Bois") :url "http://web-mode.org")

File diff suppressed because it is too large Load Diff

47
init.el
View File

@ -13,23 +13,26 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(ansi-color-names-vector '(ansi-color-names-vector
["#212121" "#CC5542" "#6aaf50" "#7d7c61" "#5180b3" "#DC8CC3" "#9b55c3" "#bdbdb3"]) ["#212121" "#CC5542" "#6aaf50" "#7d7c61" "#5180b3" "#DC8CC3" "#9b55c3" "#bdbdb3"])
'(compilation-message-face 'default) '(compilation-message-face (quote default))
'(custom-enabled-themes '(dracula)) '(custom-enabled-themes (quote (dracula)))
'(custom-safe-themes '(custom-safe-themes
'("24714e2cb4a9d6ec1335de295966906474fdb668429549416ed8636196cb1441" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" "c7eb06356fd16a1f552cfc40d900fe7326ae17ae7578f0ef5ba1edd4fdd09e58" "f3ab34b145c3b2a0f3a570ddff8fabb92dafc7679ac19444c31058ac305275e1" "dcdd1471fde79899ae47152d090e3551b889edf4b46f00df36d653adc2bf550d" "3994b1c5c1f412c025bb71b2df5973a421c257afee5278684639c205d79d93ee" default)) (quote
("24714e2cb4a9d6ec1335de295966906474fdb668429549416ed8636196cb1441" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" "c7eb06356fd16a1f552cfc40d900fe7326ae17ae7578f0ef5ba1edd4fdd09e58" "f3ab34b145c3b2a0f3a570ddff8fabb92dafc7679ac19444c31058ac305275e1" "dcdd1471fde79899ae47152d090e3551b889edf4b46f00df36d653adc2bf550d" "3994b1c5c1f412c025bb71b2df5973a421c257afee5278684639c205d79d93ee" default)))
'(fci-rule-color "#2e2e2e") '(fci-rule-color "#2e2e2e")
'(highlight-changes-colors '("#FD5FF0" "#AE81FF")) '(highlight-changes-colors (quote ("#FD5FF0" "#AE81FF")))
'(highlight-tail-colors '(highlight-tail-colors
'(("#3C3D37" . 0) (quote
(("#3C3D37" . 0)
("#679A01" . 20) ("#679A01" . 20)
("#4BBEAE" . 30) ("#4BBEAE" . 30)
("#1DB4D0" . 50) ("#1DB4D0" . 50)
("#9A8F21" . 60) ("#9A8F21" . 60)
("#A75B00" . 70) ("#A75B00" . 70)
("#F309DF" . 85) ("#F309DF" . 85)
("#3C3D37" . 100))) ("#3C3D37" . 100))))
'(hl-todo-keyword-faces '(hl-todo-keyword-faces
'(("TODO" . "#dc752f") (quote
(("TODO" . "#dc752f")
("NEXT" . "#dc752f") ("NEXT" . "#dc752f")
("THEM" . "#2d9574") ("THEM" . "#2d9574")
("PROG" . "#4f97d7") ("PROG" . "#4f97d7")
@ -43,17 +46,19 @@
("TEMP" . "#b1951d") ("TEMP" . "#b1951d")
("FIXME" . "#dc752f") ("FIXME" . "#dc752f")
("XXX+" . "#dc752f") ("XXX+" . "#dc752f")
("\\?\\?\\?+" . "#dc752f"))) ("\\?\\?\\?+" . "#dc752f"))))
'(inhibit-startup-screen t) '(inhibit-startup-screen t)
'(magit-diff-use-overlays nil) '(magit-diff-use-overlays nil)
'(package-selected-packages '(package-selected-packages
'(dumb-jump csharp-mode yaml-mode smooth-scrolling web-mode multi-web-mode spacemacs-theme flycheck ac-emmet markdown-preview-mode multiple-cursors git-gutter powerline ample-zen-theme monokai-theme dracula-theme auto-complete neotree all-the-icons spinner markdown-mode lv ht f dash-functional)) (quote
'(pdf-view-midnight-colors '("#b2b2b2" . "#292b2e")) (php-mode dumb-jump csharp-mode yaml-mode smooth-scrolling multi-web-mode spacemacs-theme flycheck ac-emmet markdown-preview-mode multiple-cursors git-gutter powerline ample-zen-theme monokai-theme dracula-theme auto-complete neotree all-the-icons spinner markdown-mode lv ht f dash-functional)))
'(pdf-view-midnight-colors (quote ("#b2b2b2" . "#292b2e")))
'(pos-tip-background-color "#FFFACE") '(pos-tip-background-color "#FFFACE")
'(pos-tip-foreground-color "#272822") '(pos-tip-foreground-color "#272822")
'(vc-annotate-background "#3b3b3b") '(vc-annotate-background "#3b3b3b")
'(vc-annotate-color-map '(vc-annotate-color-map
'((20 . "#dd5542") (quote
((20 . "#dd5542")
(40 . "#CC5542") (40 . "#CC5542")
(60 . "#fb8512") (60 . "#fb8512")
(80 . "#baba36") (80 . "#baba36")
@ -70,10 +75,11 @@
(300 . "#528fd1") (300 . "#528fd1")
(320 . "#5180b3") (320 . "#5180b3")
(340 . "#6380b3") (340 . "#6380b3")
(360 . "#DC8CC3"))) (360 . "#DC8CC3"))))
'(vc-annotate-very-old-color "#DC8CC3") '(vc-annotate-very-old-color "#DC8CC3")
'(weechat-color-list '(weechat-color-list
'(unspecified "#272822" "#3C3D37" "#F70057" "#F92672" "#86C30D" "#A6E22E" "#BEB244" "#E6DB74" "#40CAE4" "#66D9EF" "#FB35EA" "#FD5FF0" "#74DBCD" "#A1EFE4" "#F8F8F2" "#F8F8F0"))) (quote
(unspecified "#272822" "#3C3D37" "#F70057" "#F92672" "#86C30D" "#A6E22E" "#BEB244" "#E6DB74" "#40CAE4" "#66D9EF" "#FB35EA" "#FD5FF0" "#74DBCD" "#A1EFE4" "#F8F8F2" "#F8F8F0"))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@ -116,12 +122,6 @@
css-indent-offset 2) css-indent-offset 2)
(c-set-offset 'case-label 2) (c-set-offset 'case-label 2)
(c-set-offset 'statement-case-intro 2) (c-set-offset 'statement-case-intro 2)
(require '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)
(require 'php-mode) (require 'php-mode)
(add-hook 'php-mode-hook #'(lambda() (add-hook 'php-mode-hook #'(lambda()
(php-enable-default-coding-style) (php-enable-default-coding-style)
@ -161,15 +161,6 @@
(display-line-numbers-mode -1)) (display-line-numbers-mode -1))
(add-hook 'neo-after-create-hook 'my/disable-line-numbers) (add-hook 'neo-after-create-hook 'my/disable-line-numbers)
;Cambiar de major-mode en un archivo que tiene php, html, css y js a la vez según el fracmento de código donde pones el cursor.
(require 'multi-web-mode)
(setq mweb-default-major-mode 'web-mode)
(setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")
(js-mode "<script +\\(type=\"text/javascript\"\\|language=\"javascript\"\\)[^>]*>" "</script>")
(css-mode "<style +type=\"text/css\"[^>]*>" "</style>")))
(setq mweb-filename-extensions '("php" "htm" "html"))
;(multi-web-global-mode 1)
;Habilitar auto-complete-mode en html-mode. ;Habilitar auto-complete-mode en html-mode.
(add-hook 'html-mode-hook #'(lambda() (add-hook 'html-mode-hook #'(lambda()
(auto-complete-mode) (auto-complete-mode)