From 74b49aab6b751ea230084e371ca6b182acec09ef Mon Sep 17 00:00:00 2001 From: Leni Ven Date: Sun, 6 Nov 2022 23:52:35 -0800 Subject: [PATCH] update spacemacs --- home/spacemacs | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/home/spacemacs b/home/spacemacs index b9d40da..76a310d 100644 --- a/home/spacemacs +++ b/home/spacemacs @@ -33,7 +33,8 @@ This function should only modify configuration layer settings." ;; List of configuration layers to load. dotspacemacs-configuration-layers - '(;; ---------------------------------------------------------------- + '(csv + ;; ---------------------------------------------------------------- ;; Example of useful layers you may want to use right away. ;; Uncomment some layer names and press `SPC f e R' (Vim style) or ;; `M-m f e R' (Emacs style) to install them. @@ -64,15 +65,20 @@ This function should only modify configuration layer settings." emacs-lisp bibtex (latex :variables + ;latex-build-command 'latexmk latex-enable-folding t latex-enable-magic t ) markdown yaml + html + csv shell-scripts (python :variables - python-shell-interpreter "~/common/scr/python.sh" - python-shell-interpreter-args "-m IPython --simple-prompt -i") + python-backend 'lsp + python-lsp-server 'pyright + python-shell-interpreter "python-runtime.sh" + python-shell-interpreter-args "-m IPython --simple-prompt -i") ;(ocaml :variables ; ocaml-format-on-save t) @@ -88,10 +94,9 @@ This function should only modify configuration layer settings." cmake-backend 'lsp) javascript typescript - html alda ;; Music language - coq ;; Theorem prover (Proof General) + coq ;; Others finance ;; Ledger accounting @@ -135,7 +140,9 @@ This function should only modify configuration layer settings." ;; installs only the used packages but won't delete unused ones. `all' ;; installs *all* packages supported by Spacemacs and never uninstalls them. ;; (default is `used-only') - dotspacemacs-install-packages 'used-only)) + dotspacemacs-install-packages 'used-only) + + ) (defun dotspacemacs/init () @@ -544,7 +551,9 @@ It should only modify the values of Spacemacs settings." ;; If nil the home buffer shows the full path of agenda items ;; and todos. If non nil only the file name is shown. - dotspacemacs-home-shorten-agenda-source nil)) + dotspacemacs-home-shorten-agenda-source nil) + + ) (defun dotspacemacs/user-env () "Environment variables setup. @@ -703,13 +712,12 @@ This function is called at the very end of Spacemacs initialization." ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - ;'(evil-want-Y-yank-to-eol nil) '(helm-completion-style 'emacs) '(package-selected-packages - '(yasnippet-snippets yapfify yaml-mode xterm-color ws-butler writeroom-mode winum which-key web-mode web-beautify vterm volatile-highlights vi-tilde-fringe uuidgen use-package unicode-fonts undo-tree toc-org tide terminal-here tagedit systemd symon symbol-overlay sql-indent sphinx-doc spaceline-all-the-icons smeargle smart-tabs-mode slim-mode shell-pop scss-mode sass-mode restart-emacs rainbow-delimiters pytest pyenv-mode py-isort pug-mode prettier-js popwin poetry pippel pipenv pip-requirements persp-mode pdf-tools pcre2el password-generator paradox overseer org-superstar org-ref opencl-mode open-junk-file nodejs-repl nginx-mode neotree nameless multi-term move-text mmm-mode markdown-toc magic-latex-buffer macrostep lsp-ui lsp-python-ms lsp-pyright lsp-origami lsp-latex lorem-ipsum livid-mode live-py-mode link-hint json-reformat json-navigator js2-refactor js-doc insert-shebang indent-guide importmagic impatient-mode hybrid-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation highlight-doxygen helm-xref helm-themes helm-swoop helm-rtags helm-pydoc helm-purpose helm-projectile helm-org helm-mode-manager helm-make helm-lsp helm-flx helm-descbinds helm-ctest helm-css-scss helm-company helm-c-yasnippet helm-bibtex helm-ag google-translate google-c-style golden-ratio glsl-mode gh-md fuzzy forge font-lock+ flycheck-ycmd flycheck-rtags flycheck-pos-tip flycheck-package flycheck-ledger flycheck-elsa flycheck-bashate flx-ido fish-mode fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-surround evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-ledger evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-easymotion evil-cleverparens evil-args evil-anzu eval-sexp-fu eshell-z eshell-prompt-extras esh-help emr emmet-mode elisp-slime-nav editorconfig dumb-jump dotenv-mode dockerfile-mode docker disaster dired-quick-sort diminish devdocs define-word cython-mode cuda-mode cpp-auto-include company-ycmd company-web company-shell company-rtags company-reftex company-math company-glsl company-c-headers company-auctex company-anaconda column-enforce-mode cmake-mode clean-aindent-mode centered-cursor-mode centaur-tabs ccls browse-at-remote blacken auto-yasnippet auto-highlight-symbol auto-compile auctex-latexmk alda-mode aggressive-indent ace-window ace-link ace-jump-helm-line ac-ispell)) + '(csv-mode yapfify yaml-mode xterm-color ws-butler winum which-key web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package undo-tree toc-org tide typescript-mode tagedit systemd sql-indent spaceline smeargle smart-tabs-mode slim-mode shell-pop scss-mode sass-mode restart-emacs rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode popwin pip-requirements persp-mode pcre2el paradox spinner orgit org-ref citeproc htmlize string-inflection queue org-plus-contrib org-bullets open-junk-file nginx-mode neotree multi-term move-text mmm-mode markdown-toc markdown-mode macrostep lorem-ipsum livid-mode skewer-mode simple-httpd live-py-mode linum-relative link-hint ledger-mode js2-refactor yasnippet multiple-cursors js2-mode js-doc insert-shebang indent-guide hydra lv hy-mode hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation highlight-doxygen helm-themes helm-swoop helm-pydoc helm-projectile projectile helm-mode-manager helm-make request helm-flx helm-descbinds helm-css-scss helm-bibtex bibtex-completion parsebib helm-ag haml-mode google-translate golden-ratio with-editor gh-md flycheck-pos-tip pos-tip flycheck-ledger flycheck pkg-info epl flx-ido flx fish-mode fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg eval-sexp-fu eshell-z eshell-prompt-extras esh-help emmet-mode elisp-slime-nav dumb-jump dockerfile-mode docker transient tablist json-mode docker-tramp aio json-snatcher disaster diminish diff-hl define-word cython-mode company-statistics company column-enforce-mode coffee-mode cmake-mode clean-aindent-mode clang-format centaur-tabs powerline bind-map bind-key biblio biblio-core auto-highlight-symbol ht auto-compile packed compat auctex-latexmk auctex anaconda-mode pythonic f dash s all-the-icons aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy popup helm-core async)) '(warning-suppress-types '((use-package))) '(whitespace-style - '(face trailing tabs spaces lines newline empty indentation space-after-tab space-before-tab space-mark tab-mark newline-mark))) + '(face trailing tabs spaces lines newline empty indentation space-after-tab space-before-tab space-mark tab-mark newline-mark))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.