diff --git a/custom.el b/custom.el index d803eed..bb434d1 100644 --- a/custom.el +++ b/custom.el @@ -11,7 +11,7 @@ '(ecb-options-version "2.50") '(package-selected-packages (quote - (git-gutter-fringe yaml-mode whitespace-cleanup-mode web-mode use-package undo-tree sublime-themes sml-modeline smart-mode-line-powerline-theme shrink-path sass-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode ivy-rich highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck emmet-mode elpy ecb dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu all-the-icons)))) + (git-gutter-fringe yaml-mode whitespace-cleanup-mode web-mode use-package undo-tree sublime-themes sml-modeline smartparens smart-mode-line-powerline-theme shrink-path sass-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode ivy-rich highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck emmet-mode elpy ecb dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu all-the-icons)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/init.el b/init.el index ac3889b..144a9ac 100644 --- a/init.el +++ b/init.el @@ -104,6 +104,7 @@ (require 'init-python) (require 'init-pkgbuild) (require 'init-less) + (require 'init-smartparens) (require 'init-sass) (require 'init-scss) (require 'init-yaml) diff --git a/modules/init-smartparens.el b/modules/init-smartparens.el new file mode 100644 index 0000000..efbbe2d --- /dev/null +++ b/modules/init-smartparens.el @@ -0,0 +1,18 @@ +;;; init-smartparens.el --- .Emacs Configuration -*- lexical-binding: t -*- +;;; Commentary: +;; + +;;; Code: +;; smartparens +(use-package smartparens + :ensure t + :config + (setq sp-show-pair-from-inside nil) + (require 'smartparens-config) + :diminish smartparens-mode) + +(provide 'init-smartparens) +;; Local Variables: +;; byte-compile-warnings: (not free-vars) +;; End: +;;; init-smartparens.el ends here