Compare commits
2 Commits
2baff92bf0
...
fb890c4ceb
Author | SHA1 | Date | |
---|---|---|---|
fb890c4ceb | |||
98174ef392 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -8,4 +8,6 @@ bookmarks
|
|||||||
projectile-bookmarks.eld
|
projectile-bookmarks.eld
|
||||||
.org-id-locations
|
.org-id-locations
|
||||||
org-roam.db
|
org-roam.db
|
||||||
lsp-cache/
|
lsp-cache/
|
||||||
|
.cache/
|
||||||
|
url/
|
@ -31,6 +31,7 @@
|
|||||||
(global-set-key (kbd "C-x mh") 'html-mode)
|
(global-set-key (kbd "C-x mh") 'html-mode)
|
||||||
(global-set-key (kbd "C-x mj") 'js-mode)
|
(global-set-key (kbd "C-x mj") 'js-mode)
|
||||||
(global-set-key (kbd "C-x mp") 'php-mode)
|
(global-set-key (kbd "C-x mp") 'php-mode)
|
||||||
|
(global-set-key (kbd "C-x mr") 'rust-mode)
|
||||||
|
|
||||||
;; Vterm
|
;; Vterm
|
||||||
(global-set-key (kbd "C-x tt") 'multi-vterm-dedicated-toggle)
|
(global-set-key (kbd "C-x tt") 'multi-vterm-dedicated-toggle)
|
||||||
|
@ -7,17 +7,17 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(use-package company-php :defer t)
|
;;(use-package company-php :defer t)
|
||||||
(use-package ac-php :defer t)
|
;;(use-package ac-php :defer t)
|
||||||
|
|
||||||
(use-package php-mode
|
(use-package php-mode
|
||||||
:defer t
|
:defer t
|
||||||
;; :bind ("C-c d b" . php-doc-block)
|
:hook (php-mode . lsp)
|
||||||
:hook (php-mode . (lambda ()
|
:hook (php-mode . (lambda ()
|
||||||
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
|
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
|
||||||
(company-mode t) ; habilita company mode
|
(company-mode t) ; habilita company mode
|
||||||
(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
|
;;(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
|
||||||
(add-to-list 'company-backends 'company-ac-php-backend) ; Agregar ac-php para a company
|
;;(add-to-list 'company-backends '(company-capf company-ac-php-backend :with company-yasnippet)) ; Agregar ac-php para a company
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
:defer t
|
:defer t
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(setq rustic-lsp-server 'rls)
|
;;(setq rustic-lsp-server 'rls)
|
||||||
(setq rustic-lsp-client 'lsp)
|
;;(setq rustic-lsp-client 'lsp)
|
||||||
;;(setq rustic-lsp-client nil)
|
(setq rustic-lsp-client nil)
|
||||||
(push 'rustic-clippy flycheck-checkers))
|
(push 'rustic-clippy flycheck-checkers))
|
||||||
|
|
||||||
(provide 'lang-rust)
|
(provide 'lang-rust)
|
||||||
|
Loading…
Reference in New Issue
Block a user