Skip to content

Commit

Permalink
feat: test using :vc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronzinhoo committed Aug 17, 2024
1 parent 31b0fbc commit 9663f8d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 17 deletions.
51 changes: 35 additions & 16 deletions emacs/custom.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,50 @@
;; If there is more than one, they won't work right.
'(bmkp-last-as-first-bookmark-file "~/.config/emacs/var/bmkp/current-bookmark.el")
'(company-dabbrev-ignore-case nil)
'(doom-modeline-check-simple-format t nil nil "Customized with use-package doom-modeline")
'(package-selected-packages
'(keychain-environment company company-eclim go-mode lsp-ui frame-local pyenv-mode-auto pyenv-mode rg delight blacken powerline powermo company-posframe company-postframe company-box simpleclip all-the-icons-ivy-rich tide flycheck exec-path-from-shell company-web skewer-mode simple-httpd js2 prettier-js rjsx json-snatcher json-reformat js-comint web-mode emmet-mode add-node-modules-path yaml-mode lsp-mode dired-recent diredfl ivy-rich all-the-icons beginend default-text-scale company-prescient ivy-prescient prescient benchmark-init flx company-quickhelp-terminal crux company-quickhelp counsel ace-jump ace-jump-mode diminish auto-package-update electric-pair-mode moe-theme-switcher electric-pair ssh-agency jedi moe-theme bind-map rjsx-mode ag company-tern impatient-mode company-jedi smex idle-highlight-in-visible-buffers-mode idle-highlight-mode magit async git-commit list-packages-ext use-package image+ gnu-elpa-keyring-update magithub pylint python-black multiple-cursors material-theme elpy better-defaults python))
'(web-mode-attr-indent-offset 2)
'(web-mode-attr-value-indent-offset 2)
'(web-mode-code-indent-offset 2)
'(web-mode-css-indent-offset 2)
'(web-mode-enable-auto-closing t)
'(web-mode-enable-auto-expanding t)
'(web-mode-enable-auto-opening t)
'(web-mode-enable-auto-pairing t)
'(web-mode-enable-css-colorization t)
'(web-mode-enable-current-column-highlight t)
'(web-mode-enable-current-element-highlight t)
'(web-mode-markup-indent-offset 2))
'(keychain-environment company company-eclim go-mode lsp-ui
frame-local pyenv-mode-auto pyenv-mode rg
delight blacken powerline powermo
company-posframe company-postframe
company-box simpleclip
all-the-icons-ivy-rich tide flycheck
exec-path-from-shell company-web skewer-mode
simple-httpd js2 prettier-js rjsx
json-snatcher json-reformat js-comint
web-mode emmet-mode add-node-modules-path
yaml-mode lsp-mode dired-recent diredfl
ivy-rich all-the-icons beginend
default-text-scale company-prescient
ivy-prescient prescient benchmark-init flx
company-quickhelp-terminal crux
company-quickhelp counsel ace-jump
ace-jump-mode diminish auto-package-update
electric-pair-mode moe-theme-switcher
electric-pair ssh-agency jedi moe-theme
bind-map rjsx-mode ag company-tern
impatient-mode company-jedi smex
idle-highlight-in-visible-buffers-mode
idle-highlight-mode magit async git-commit
list-packages-ext use-package image+
gnu-elpa-keyring-update magithub pylint
python-black multiple-cursors material-theme
elpy better-defaults python))
'(package-vc-selected-packages
'((sqlformat :url "https://github.com/purcell/sqlformat" :branch
"master")))
'(safe-local-variable-values '((elisp-lint-indent-specs (when-let . 1)))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; 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.
'(git-gutter:modified ((t (:background unspecified :foreground "dodgerblue" :weight bold))))
'(git-gutter:added ((t (:background unspecified :foreground "limegreen"))))
'(git-gutter:deleted ((t (:background unspecified))))
'(dired-subtree-depth-1-face ((t unspecified)))
'(dired-subtree-depth-2-face ((t unspecified)))
'(dired-subtree-depth-3-face ((t unspecified)))
'(git-gutter:added ((t (:background unspecified :foreground "limegreen"))))
'(git-gutter:deleted ((t (:background unspecified))))
'(git-gutter:modified ((t (:background unspecified :foreground "dodgerblue" :weight bold))))
'(ivy-minibuffer-match-face-2 ((t (:background "steel blue" :foreground "#eeeeee" :weight bold))))
'(swiper-background-match-face-2 ((t (:background "steel blue" :foreground "gainsboro"))))
'(swiper-match-face-1 ((t (:background "light cyan" :foreground "dim gray" :weight bold))))
Expand Down
3 changes: 2 additions & 1 deletion emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -3009,7 +3009,8 @@ if one already exists."

;;; SQL Mode
(use-package sqlformat
:straight (:type git :host github :repo "purcell/sqlformat" :branch "master")
:vc (:url "https://github.com/purcell/sqlformat"
:branch "master")
:hook (sql-mode . sqlformat-on-save-mode)
:custom
(sqlformat-command 'pgformatter))
Expand Down

0 comments on commit 9663f8d

Please sign in to comment.