Disable lsp mode by default on rust and enable php.
This commit is contained in:
parent
98174ef392
commit
fb890c4ceb
4
.gitignore
vendored
4
.gitignore
vendored
@ -8,4 +8,6 @@ bookmarks
|
||||
projectile-bookmarks.eld
|
||||
.org-id-locations
|
||||
org-roam.db
|
||||
lsp-cache/
|
||||
lsp-cache/
|
||||
.cache/
|
||||
url/
|
@ -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
|
||||
))
|
||||
)
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user