From ba0d924aabe26e715b1cd41dc4defa1fc6870b0d Mon Sep 17 00:00:00 2001 From: Philippe Dosch <Philippe.Dosch@loria.fr> Date: Thu, 14 Nov 2019 15:18:08 +0100 Subject: [PATCH] =?UTF-8?q?Modifications=20suite=20=C3=A0=20l'installation?= =?UTF-8?q?=20de=20LSP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .emacs | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.emacs b/.emacs index bf3dc43..bb0da02 100644 --- a/.emacs +++ b/.emacs @@ -427,11 +427,11 @@ ;; (autoload 'inf-ruby-minor-mode "inf-ruby" "Run an inferior Ruby process" t) ;; (add-hook 'ruby-mode-hook 'inf-ruby-minor-mode)) -;; ;; Robe : toujours pour Ruby -;; (use-package robe -;; :ensure t -;; :config -;; (add-hook 'ruby-mode-hook 'robe-mode)) +;; Robe : toujours pour Ruby +(use-package robe + :ensure t + :config + (add-hook 'ruby-mode-hook 'robe-mode)) ;; ;; Du refactoring pour Ruby ;; ;; Extract to Method (C-c C-r e) @@ -457,28 +457,28 @@ (setq company-minimum-prefix-length 1) (add-hook 'prog-mode-hook 'company-mode)) -(use-package company-irony - :ensure t - :config - (add-to-list 'company-backends 'company-irony)) +;; (use-package company-irony +;; :ensure t +;; :config +;; (add-to-list 'company-backends 'company-irony)) -(use-package irony - :ensure t - :config - (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)) +;; (use-package irony +;; :ensure t +;; :config +;; (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)) -(defun my-irony-mode-on () - "Avoid enabling irony-mode in modes that inherits `c-mode', e.g: php-mode." - (when (member major-mode irony-supported-major-modes) - (irony-mode 1))) +;; (defun my-irony-mode-on () +;; "Avoid enabling irony-mode in modes that inherits `c-mode', e.g: php-mode." +;; (when (member major-mode irony-supported-major-modes) +;; (irony-mode 1))) -(add-hook 'c++-mode-hook 'my-irony-mode-on) -(add-hook 'c-mode-hook 'my-irony-mode-on) +;; (add-hook 'c++-mode-hook 'my-irony-mode-on) +;; (add-hook 'c-mode-hook 'my-irony-mode-on) -(use-package irony-eldoc - :ensure t - :config - (add-hook 'irony-mode-hook #'irony-eldoc)) +;; (use-package irony-eldoc +;; :ensure t +;; :config +;; (add-hook 'irony-mode-hook #'irony-eldoc)) (use-package company-jedi :ensure t -- GitLab