Messing with config for clean install
This commit is contained in:
parent
278683bf88
commit
51d2277296
2 changed files with 27 additions and 45 deletions
|
|
@ -58,7 +58,7 @@
|
||||||
'(org-odd-levels-only t)
|
'(org-odd-levels-only t)
|
||||||
'(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED")))
|
'(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED")))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(sql-indent eglot-java vterm lsp-pyright blacken nyan-mode earthfile-mode compat adaptive-wrap terraform-mode deadgrep protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow))
|
'(flycheck-elm sql-indent eglot-java vterm lsp-pyright blacken nyan-mode earthfile-mode compat adaptive-wrap terraform-mode deadgrep protobuf-mode bazel howm python-mode color-theme-sanityinc-solarized monokai-theme rust-mode tide typescript-mode modus-themes tree-sitter flycheck-rust eglot ink-mode prettier-js zig-mode esup gnu-elpa-keyring-update lsp-hack hack-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi elm-mode monky color-theme-sanityinc-tomorrow))
|
||||||
'(reb-re-syntax 'string)
|
'(reb-re-syntax 'string)
|
||||||
'(rmail-mail-new-frame t)
|
'(rmail-mail-new-frame t)
|
||||||
'(safe-local-variable-values
|
'(safe-local-variable-values
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@
|
||||||
(width . 91)))
|
(width . 91)))
|
||||||
))
|
))
|
||||||
|
|
||||||
(use-package modus-themes :ensure
|
(use-package modus-themes :ensure t
|
||||||
:config
|
:config
|
||||||
(load-theme (if (display-graphic-p)
|
(load-theme (if (display-graphic-p)
|
||||||
'modus-operandi
|
'modus-operandi
|
||||||
|
|
@ -411,7 +411,7 @@
|
||||||
(t '("typescript-language-server" "--stdio"))))
|
(t '("typescript-language-server" "--stdio"))))
|
||||||
|
|
||||||
|
|
||||||
(use-package eglot :ensure
|
(use-package eglot :ensure t
|
||||||
:commands (eglot-ensure eglot)
|
:commands (eglot-ensure eglot)
|
||||||
:hook
|
:hook
|
||||||
(python-mode . eglot-ensure)
|
(python-mode . eglot-ensure)
|
||||||
|
|
@ -737,8 +737,10 @@ Or, uh, Objective C, I guess."
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Elm
|
;; Elm
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(require 'flycheck-elm)
|
(use-package flycheck-elm :ensure t
|
||||||
(add-to-list 'flycheck-checkers 'elm)
|
:after (flycheck)
|
||||||
|
:config
|
||||||
|
(add-to-list 'flycheck-checkers 'elm))
|
||||||
|
|
||||||
(defun my-elm-hook ()
|
(defun my-elm-hook ()
|
||||||
"My ELM-MODE hook."
|
"My ELM-MODE hook."
|
||||||
|
|
@ -752,34 +754,13 @@ Or, uh, Objective C, I guess."
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Flycheck
|
;; Flycheck
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(require 'flycheck)
|
(use-package flycheck :ensure t
|
||||||
|
:config
|
||||||
;; customize flycheck temp file prefix
|
|
||||||
(setq-default flycheck-temp-prefix ".flycheck")
|
(setq-default flycheck-temp-prefix ".flycheck")
|
||||||
|
|
||||||
;; disable json-jsonlist checking for json files
|
|
||||||
(setq-default flycheck-disabled-checkers
|
(setq-default flycheck-disabled-checkers
|
||||||
(append flycheck-disabled-checkers
|
(append flycheck-disabled-checkers '(json-jsonlist)))
|
||||||
'(json-jsonlist)))
|
:hook (emacs-lisp-mode elm-mode) ;; 2023-11-05 NOTE I'm gonna have to rebuild this
|
||||||
|
)
|
||||||
;; (flycheck-define-checker python-fb-flake8
|
|
||||||
;; "A Python syntax and style checker using FB's Flake8."
|
|
||||||
;; :command ("flake8" source-original "--shebang" "--py2" "--py3")
|
|
||||||
;; :standard-input nil
|
|
||||||
;; :error-filter (lambda (errors)
|
|
||||||
;; (let ((errors (flycheck-sanitize-errors errors)))
|
|
||||||
;; (seq-do #'flycheck-flake8-fix-error-level errors)
|
|
||||||
;; errors))
|
|
||||||
;; :error-patterns
|
|
||||||
;; ((warning line-start
|
|
||||||
;; (file-name) ":" line ":" (optional column ":") " "
|
|
||||||
;; (id (one-or-more (any alpha)) (one-or-more digit)) " "
|
|
||||||
;; (message (one-or-more not-newline))
|
|
||||||
;; line-end))
|
|
||||||
;; :modes python-mode)
|
|
||||||
;; (add-to-list 'flycheck-checkers 'python-fb-flake8)
|
|
||||||
|
|
||||||
(global-flycheck-mode)
|
|
||||||
|
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Python Support
|
;; Python Support
|
||||||
|
|
@ -801,7 +782,7 @@ Or, uh, Objective C, I guess."
|
||||||
;; (add-to-list 'interpreter-mode-alist '("python" . python-mode))
|
;; (add-to-list 'interpreter-mode-alist '("python" . python-mode))
|
||||||
;; (add-hook 'python-mode-hook 'my-python-mode-hook))
|
;; (add-hook 'python-mode-hook 'my-python-mode-hook))
|
||||||
|
|
||||||
(use-package blacken :ensure
|
(use-package blacken :ensure t
|
||||||
:commands (blacken-mode)
|
:commands (blacken-mode)
|
||||||
:hook (python-mode . blacken-mode))
|
:hook (python-mode . blacken-mode))
|
||||||
|
|
||||||
|
|
@ -816,7 +797,7 @@ Or, uh, Objective C, I guess."
|
||||||
;; Bazel Support
|
;; Bazel Support
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
|
|
||||||
(use-package bazel :ensure
|
(use-package bazel :ensure t
|
||||||
:mode (("/\\.bazelignore\\'" . bazelignore-mode)
|
:mode (("/\\.bazelignore\\'" . bazelignore-mode)
|
||||||
("/\\(?:\\(?:bazel\\)?\\.bazelrc\\)\\'" . bazelrc-mode)
|
("/\\(?:\\(?:bazel\\)?\\.bazelrc\\)\\'" . bazelrc-mode)
|
||||||
("/.+\\.bzl\\'" . bazel-starlark-mode)
|
("/.+\\.bzl\\'" . bazel-starlark-mode)
|
||||||
|
|
@ -1040,7 +1021,7 @@ Or, uh, Objective C, I guess."
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Magit stuff
|
;; Magit stuff
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package magit :ensure
|
(use-package magit :ensure t
|
||||||
:bind ("C-x g" . magit-status))
|
:bind ("C-x g" . magit-status))
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1073,7 +1054,7 @@ Or, uh, Objective C, I guess."
|
||||||
(add-hook 'shell-mode-hook 'my-shell-mode-hook)
|
(add-hook 'shell-mode-hook 'my-shell-mode-hook)
|
||||||
|
|
||||||
;; xterm-color
|
;; xterm-color
|
||||||
(use-package xterm-color :ensure
|
(use-package xterm-color :ensure t
|
||||||
:config
|
:config
|
||||||
(add-hook 'comint-preoutput-filter-functions 'xterm-color-filter)
|
(add-hook 'comint-preoutput-filter-functions 'xterm-color-filter)
|
||||||
(setq comint-output-filter-functions
|
(setq comint-output-filter-functions
|
||||||
|
|
@ -1154,7 +1135,7 @@ Or, uh, Objective C, I guess."
|
||||||
:mode (("\\.clj\\'" . clojure-mode)
|
:mode (("\\.clj\\'" . clojure-mode)
|
||||||
("\\.edn\\'" . clojure-mode))
|
("\\.edn\\'" . clojure-mode))
|
||||||
:config
|
:config
|
||||||
(use-package cider :ensure
|
(use-package cider :ensure t
|
||||||
:config
|
:config
|
||||||
;; Put TARGETS in clojure-build-tool-files so that directories with TARGETS
|
;; Put TARGETS in clojure-build-tool-files so that directories with TARGETS
|
||||||
;; get identified as projects.
|
;; get identified as projects.
|
||||||
|
|
@ -1240,7 +1221,7 @@ Or, uh, Objective C, I guess."
|
||||||
((file-directory-p "/mnt/c/Users/john/Dropbox") "/mnt/c/Users/john/Dropbox")))
|
((file-directory-p "/mnt/c/Users/john/Dropbox") "/mnt/c/Users/john/Dropbox")))
|
||||||
"Where is my dropbox?")
|
"Where is my dropbox?")
|
||||||
|
|
||||||
(use-package howm :ensure
|
(use-package howm :ensure t
|
||||||
:init
|
:init
|
||||||
;; Directory configuration
|
;; Directory configuration
|
||||||
;;
|
;;
|
||||||
|
|
@ -1276,30 +1257,31 @@ Or, uh, Objective C, I guess."
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Protocol Buffers
|
;; Protocol Buffers
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package protobuf-mode :ensure)
|
(use-package protobuf-mode :ensure t)
|
||||||
|
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Deadgrep for searching
|
;; Deadgrep for searching
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package deadgrep :ensure)
|
(use-package deadgrep :ensure t)
|
||||||
|
;; TODO: AUTOLOADS HERE
|
||||||
|
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Terraform
|
;; Terraform
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package terraform-mode :ensure
|
(use-package terraform-mode :ensure t
|
||||||
:mode "\\.tf(vars)?\\'"
|
:mode "\\.tf(vars)?\\'"
|
||||||
:config (add-hook 'terraform-mode-hook #'terraform-format-on-save-mode))
|
:config (add-hook 'terraform-mode-hook #'terraform-format-on-save-mode))
|
||||||
|
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Earthly
|
;; Earthly
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package earthfile-mode :ensure
|
(use-package earthfile-mode :ensure t
|
||||||
:mode ("\\.earth\\'" "Earthfile\\'"))
|
:mode ("\\.earth\\'" "Earthfile\\'"))
|
||||||
|
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Java
|
;; Java
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package eglot-java :ensure
|
(use-package eglot-java :ensure t
|
||||||
:after (eglot)
|
:after (eglot)
|
||||||
:hook
|
:hook
|
||||||
(java-mode . eglot-java-mode))
|
(java-mode . eglot-java-mode))
|
||||||
|
|
@ -1307,7 +1289,7 @@ Or, uh, Objective C, I guess."
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; SQL?
|
;; SQL?
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package sql-indent :ensure)
|
(use-package sql-indent :ensure t)
|
||||||
|
|
||||||
|
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue