Skip to content
Snippets Groups Projects
Commit 84a9d8a9 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Quelques améliorations pour magit et la gestion des parentheses

parent 7776bb06
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
'(org-startup-indented t) '(org-startup-indented t)
'(package-selected-packages '(package-selected-packages
(quote (quote
(rainbow-delimiters alect-theme zero-dark-theme autumn-light-theme solarized-dark-theme misterioso misterioso-theme zenburn sourcerer-theme flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent treemacs-projectile treemacs prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck doom-modeline doom-themes tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package))) (magit-gerrit rainbow-delimiters alect-theme zero-dark-theme autumn-light-theme solarized-dark-theme misterioso misterioso-theme zenburn sourcerer-theme flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent treemacs-projectile treemacs prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck doom-modeline doom-themes tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package)))
'(sp-escape-quotes-after-insert nil)) '(sp-escape-quotes-after-insert nil))
(setq max-lisp-eval-depth 10000) (setq max-lisp-eval-depth 10000)
(setq max-specpdl-size 10000) (setq max-specpdl-size 10000)
......
...@@ -339,6 +339,19 @@ ...@@ -339,6 +339,19 @@
(declare-function rainbow-delimiters-mode "rainbow-delimiters.el")) (declare-function rainbow-delimiters-mode "rainbow-delimiters.el"))
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode)) (add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
#+END_SRC
* Auto pairs
#+BEGIN_SRC emacs-lisp
(use-package autopair
:ensure t
:init
(eval-when-compile
;; Silence missing function warnings
(declare-function autopair-global-mode "autopair.el"))
:config
(autopair-global-mode t)
)
#+END_SRC #+END_SRC
* Reveal.js * Reveal.js
#+BEGIN_SRC emacs-lisp :tangle no #+BEGIN_SRC emacs-lisp :tangle no
...@@ -779,6 +792,11 @@ ...@@ -779,6 +792,11 @@
(bind-key "C-x g" 'magit-status) (bind-key "C-x g" 'magit-status)
)) ))
(use-package magit-gerrit
:ensure t
:after magit
)
(setq magit-status-margin (setq magit-status-margin
'(t "%Y-%m-%d %H:%M " magit-log-margin-width t 18)) '(t "%Y-%m-%d %H:%M " magit-log-margin-width t 18))
(use-package git-gutter (use-package git-gutter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment