Compare commits
2 Commits
36885ac135
...
026549eff7
Author | SHA1 | Date | |
---|---|---|---|
026549eff7 | |||
f929aad937 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@ workspace/
|
||||
/history
|
||||
/projectile.cache
|
||||
/request/
|
||||
/smex-items
|
||||
|
@ -12,10 +12,19 @@
|
||||
(use-package php-mode
|
||||
:defer t
|
||||
:straight t
|
||||
:hook ((php-mode . (lambda ()
|
||||
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
|
||||
))
|
||||
)
|
||||
:bind ("C-c d b" . kj/php-doc-block)
|
||||
:config
|
||||
(defun kj/php-doc-block ()
|
||||
"Llama a \"php-dock-block\", sin conflicto con \"vs-comment-return-mode\"."
|
||||
(interactive)
|
||||
(if (bound-and-true-p vs-comment-return-mode)
|
||||
(funcall (lambda()
|
||||
(vs-comment-return-mode -1)
|
||||
(php-doc-block)
|
||||
(vs-comment-return-mode 1)))
|
||||
(php-doc-block)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(use-package php-doc-block
|
||||
|
Loading…
Reference in New Issue
Block a user