diff --git a/init.el b/init.el index f3fcad56aa1915396e52d22d7dad0304242d0afc..5e22cff9fbb499486e9b53a091561af65421e75f 100644 --- a/init.el +++ b/init.el @@ -5,21 +5,20 @@ (setq max-lisp-eval-depth 10000) (setq max-specpdl-size 10000) -(require 'package) +(require 'package) (setq package-enable-at-startup nil) +(add-to-list 'package-archives + '("melpa" . "http://melpa.org/packages/")) +(add-to-list 'package-archives + '("gnu" . "http://elpa.gnu.org/packages/")) + ;; set is-standalone to true to use the local melpa archive -(defvar is-standalone t) +(defvar is-standalone nil) (if is-standalone - (setq package-archives '(("myelpa" . "~/.emacs.d/myelpa/"))) - '((add-to-list 'package-archives - '("melpa" . "http://melpa.org/packages/")) - (add-to-list 'package-archives - '("gnu" . "http://elpa.gnu.org/packages/")) - (add-to-list 'package-archives - '("melpa3" . "http://www.mirrorservice.org/sites/stable.melpa.org/packages/")) -)) +(setq package-archives '(("myelpa" . "~/.emacs.d/myelpa/"))) +nil) (package-initialize) @@ -40,6 +39,7 @@ '(all-the-icons-ivy-buffer-commands (quote (ivy-switch-buffer-other-window ivy-switch-buffer))) '(elpy-rpc-backend "jedi" t) '(hydra-hint-display-type (quote posframe)) + '(irony-cdb-search-directory-list (quote ("." "build"))) '(org-confirm-babel-evaluate nil) '(org-default-notes-file (concat org-directory "/notes.org")) '(org-directory "~/Sync/orgfiles") @@ -50,7 +50,7 @@ '(org-startup-indented t) '(package-selected-packages (quote - (tabbar cmake-font-lock 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))) + (flycheck-irony tabbar cmake-font-lock 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)) (byte-recompile-directory (expand-file-name "~/.emacs.d") 0) diff --git a/myinit.org b/myinit.org index 4ef70ad6a0a3e5685402014d36a5e9a2fc98f2ee..3dfa836415ae1efb041c124cda23e148939861eb 100644 --- a/myinit.org +++ b/myinit.org @@ -1454,6 +1454,11 @@ (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (add-hook 'rust-mode-hook 'flycheck-mode)) +(use-package flycheck-irony +:ensure t +:config +(eval-after-load 'flycheck +'(add-hook 'flycheck-mode-hook #'flycheck-irony-setup))) #+END_SRC * Ripgrep #+BEGIN_SRC emacs-lisp @@ -1469,7 +1474,7 @@ #+BEGIN_SRC emacs-lisp (use-package fzf :ensure t) #+END_SRC -* All the icons +* COMMENT All the icons #+BEGIN_SRC emacs-lisp (use-package all-the-icons