From e0468a54334e3534ae1b1a72baefaa6cf8445c7b Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 21 Apr 2019 02:48:16 +0200 Subject: [PATCH] Add python layer and ccls backend for C++ --- emacs/.spacemacs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 0b5e04b..59f6e9b 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -55,17 +55,19 @@ This function should only modify configuration layer settings." ;; spell-checking syntax-checking ;; version-control - (cmake :variables cmake-enable-cmake-ide-support 't) + (cmake :variables cmake-enable-cmake-ide-support t) (c-c++ :variables - c-c++-enable-clang-support 't c-c++-default-mode-for-headers 'c++-mode - c-c++-backend 'rtags - c-c++-enable-rtags-completion nil) + c-c++-backend 'lsp-ccls) java shell-scripts spacemacs-layouts debug spacemacs-project + (python :variables + python-backend 'anaconda + python-test-runner 'pytest + python-enable-yapf-format-on-save t) ) ;; List of additional packages that will be installed without being @@ -522,7 +524,7 @@ This function is called at the very end of Spacemacs initialization." '(hl-paren-colors (quote ("#40883f" "#0287c8" "#b85c57"))) '(package-selected-packages (quote - (flycheck-package package-lint counsel-projectile projectile levenshtein lv rtags web-mode web-beautify tagedit slim-mode scss-mode sass-mode pug-mode prettier-js impatient-mode htmlize simple-httpd haml-mode emmet-mode counsel-css company-web web-completion-data smeargle magit-svn magit-gitflow magit-popup gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor dash hasklig-mode yasnippet-snippets ivy-hydra counsel swiper helm helm-core ivy flycheck company hydra zerodark-theme xterm-color winum which-key wgrep use-package smex smartparens shell-pop realgud plan9-theme persp-mode pcre2el overseer nameless mvn multi-term mmm-mode meghanada maven-test-mode markdown-toc macrostep ivy-yasnippet ivy-xref ivy-rtags insert-shebang ibuffer-projectile helm-make groovy-mode groovy-imports gradle-mode google-c-style gh-md fuzzy flycheck-rtags flycheck-pos-tip flycheck-irony flycheck-bashate flx fish-mode eyebrowse evil eshell-z eshell-prompt-extras esh-help ensime elisp-slime-nav dotenv-mode disaster diminish company-statistics company-shell company-rtags company-irony-c-headers company-irony company-emacs-eclim company-c-headers cmake-mode cmake-ide clang-format bind-map auto-yasnippet auto-compile async ac-ispell))) + (dap-mode bui tree-mode lsp-ui lsp-treemacs treemacs pfuture ace-window avy lsp-java request helm-lsp cquery company-lsp ccls lsp-mode spinner ht dash-functional yasnippet yapfify pytest pyenv-mode py-isort pippel pipenv pyvenv pip-requirements live-py-mode importmagic epc ctable concurrent deferred cython-mode company-anaconda anaconda-mode pythonic flycheck-package package-lint counsel-projectile projectile levenshtein lv rtags web-mode web-beautify tagedit slim-mode scss-mode sass-mode pug-mode prettier-js impatient-mode htmlize simple-httpd haml-mode emmet-mode counsel-css company-web web-completion-data smeargle magit-svn magit-gitflow magit-popup gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor dash hasklig-mode yasnippet-snippets ivy-hydra counsel swiper helm helm-core ivy flycheck company hydra zerodark-theme xterm-color winum which-key wgrep use-package smex smartparens shell-pop realgud plan9-theme persp-mode pcre2el overseer nameless mvn multi-term mmm-mode meghanada maven-test-mode markdown-toc macrostep ivy-yasnippet ivy-xref ivy-rtags insert-shebang ibuffer-projectile helm-make groovy-mode groovy-imports gradle-mode google-c-style gh-md fuzzy flycheck-rtags flycheck-pos-tip flycheck-irony flycheck-bashate flx fish-mode eyebrowse evil eshell-z eshell-prompt-extras esh-help ensime elisp-slime-nav dotenv-mode disaster diminish company-statistics company-shell company-rtags company-irony-c-headers company-irony company-emacs-eclim company-c-headers cmake-mode cmake-ide clang-format bind-map auto-yasnippet auto-compile async ac-ispell))) '(safe-local-variable-values (quote ((eval progn (pp-buffer) (indent-buffer))))) '(sml/active-background-color "#98ece8") '(sml/active-foreground-color "#424242") @@ -535,3 +537,4 @@ This function is called at the very end of Spacemacs initialization." ;; If there is more than one, they won't work right. ) ) +