Compare commits

...

2 Commits

4 changed files with 12 additions and 9 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ projectile-bookmarks.eld
.org-id-locations
org-roam.db
lsp-cache/
.cache/
url/

View File

@ -31,6 +31,7 @@
(global-set-key (kbd "C-x mh") 'html-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 mr") 'rust-mode)
;; Vterm
(global-set-key (kbd "C-x tt") 'multi-vterm-dedicated-toggle)

View File

@ -7,17 +7,17 @@
;;; Code:
(use-package company-php :defer t)
(use-package ac-php :defer t)
;;(use-package company-php :defer t)
;;(use-package ac-php :defer t)
(use-package php-mode
:defer t
;; :bind ("C-c d b" . php-doc-block)
:hook (php-mode . lsp)
:hook (php-mode . (lambda ()
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
(company-mode t) ; habilita company mode
(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
(add-to-list 'company-backends 'company-ac-php-backend) ; Agregar ac-php para a company
;;(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
;;(add-to-list 'company-backends '(company-capf company-ac-php-backend :with company-yasnippet)) ; Agregar ac-php para a company
))
)

View File

@ -17,9 +17,9 @@
:defer t
:ensure t
:config
(setq rustic-lsp-server 'rls)
(setq rustic-lsp-client 'lsp)
;;(setq rustic-lsp-client nil)
;;(setq rustic-lsp-server 'rls)
;;(setq rustic-lsp-client 'lsp)
(setq rustic-lsp-client nil)
(push 'rustic-clippy flycheck-checkers))
(provide 'lang-rust)