diff options
author | Timo Wilken | 2022-11-21 23:18:21 +0100 |
---|---|---|
committer | Timo Wilken | 2022-11-21 23:28:59 +0100 |
commit | 4e0ca9872ddc8f4f3719fb30be7c49a8cad5a7e5 (patch) | |
tree | dad54655ca2be0dc94ac29241ca0939919854059 /home-configuration.scm | |
parent | a07242cdd5cec39528077d28d7273b2b8ef4328e (diff) |
Add emacs config
Diffstat (limited to 'home-configuration.scm')
-rw-r--r-- | home-configuration.scm | 80 |
1 files changed, 75 insertions, 5 deletions
diff --git a/home-configuration.scm b/home-configuration.scm index 4c88248b..9e9a3590 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -204,6 +204,10 @@ replacement spec (to which `regexp-substitute/global' is applied)." ,(local-file #.(string-append "catppuccin/dunst/src/" catppuccin-theme-variant ".conf") "dunst-theme.conf")) + ("emacs/init.el" ,(local-file "emacs-init.el")) + (#.(string-append "emacs/catppuccin-" catppuccin-theme-variant "-theme.el") + ,(local-file #.(string-append "catppuccin/emacs/catppuccin-" + catppuccin-theme-variant "-theme.el"))) ("gtk-2.0/gtkrc" ,(local-file "gtk2.ini")) ("gtk-3.0/settings.ini" ,(local-file "gtk3.ini")) ("i3/config" ,(local-file "i3.conf")) @@ -338,12 +342,78 @@ replacement spec (to which `regexp-substitute/global' is applied)." ,@(specifications->packages gui-packages) ,@(specifications->packages '(;; CLI tools - "adb" "dos2unix" "file" "fzf" "git" "graphviz" "imagemagick" "jq" - "lesspipe" "nvme-cli" "openssh" "powertop" "pulsemixer" "pv" - "python" "rsync" "sbcl" "smartmontools" "source-highlight" - "tk" "tmux" "tree" "xxd" "zip" "unzip" + "adb" "dos2unix" "file" "fzf" "git" "graphviz" "hledger" + "imagemagick" "jq" "lesspipe" "nvme-cli" "openssh" "powertop" + "pulsemixer" "pv" "python" "rsync" "sbcl" "smartmontools" + "source-highlight" "tk" "tmux" "tree" "xxd" "zip" "unzip" + + ;; Language servers + "clang" ; for clangd + "python-lsp-server" + ;; Supported OotB by eglot, but not packaged by guix: + ;; https://github.com/mads-hartmann/bash-language-server + ;; https://github.com/regen100/cmake-language-server + ;; https://github.com/hrsh7th/vscode-langservers-extracted ; {html,css,json}-languageserver + ;; https://github.com/golang/tools/tree/master/gopls ; maybe? + ;; https://github.com/artempyanykh/marksman ; Markdown + ;; https://github.com/jeapostrophe/racket-langserver + ;; https://github.com/astoff/digestif ; (La)TeX + ;; https://github.com/redhat-developer/yaml-language-server + ;; Needs eglot config + not packaged (from lsp-mode): + ;; https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli#readme + ;; https://github.com/haskell/haskell-language-server / https://github.com/haskell/ghcide + ;; https://github.com/eclipse/lemminx + ;; Emacs - "emacs" "emacs-use-package" "emacs-editorconfig" ; TODO: set up EditorConfig + "emacs" + "emacs-use-package" + "emacs-eglot" + "emacs-counsel" + "emacs-ivy" "emacs-ivy-posframe" + "emacs-company" "emacs-company-quickhelp" "emacs-company-posframe" + "emacs-autothemer" ; for catppuccin/emacs + "emacs-undo-tree" + "emacs-aggressive-indent" + "emacs-which-key" + "emacs-smart-mode-line" + "emacs-diminish" + "emacs-rainbow-mode" + "emacs-guix" + ;; TODO: "emacs-editorconfig" "emacs-sly" "emacs-sly-macrostep" + "emacs-org" ; "emacs-org-modern" theme? + + "emacs-evil" + "emacs-evil-collection" + "emacs-evil-expat" ; for :reverse, :remove, :rename, :colo, :g*, ... ex commands + "emacs-evil-surround" + ;; "emacs-evil-owl" ; tests failing + "emacs-evil-args" + "emacs-evil-smartparens" + "emacs-evil-numbers" + "emacs-evil-multiedit" + "emacs-evil-goggles" + "emacs-evil-traces" + "emacs-evil-commentary" + "emacs-evil-replace-with-register" + "emacs-evil-org" + "emacs-evil-markdown" + "emacs-evil-tex" + "emacs-evil-text-object-python" + + "emacs-geiser" "emacs-geiser-racket" "emacs-geiser-guile" + "emacs-ac-geiser" "emacs-macrostep-geiser" + "emacs-ledger-mode" ; "emacs-hledger-mode" + "emacs-flymake-collection" ; "emacs-flymake-flycheck" ; if needed + "emacs-cmake-mode" + "emacs-graphviz-dot-mode" + "emacs-hcl-mode" + "emacs-mmm-mode" + "emacs-puppet-mode" + "emacs-web-mode" + "emacs-rec-mode" + "emacs-yaml-mode" + + "shellcheck" ;; Shell "zsh" "zsh-autosuggestions" "zsh-syntax-highlighting" "zsh-autopair" ;; Ranger can do code highlighting using python-pygments and |