diff --git a/core/core-editor.el b/core/core-editor.el index 464913887..40775e60a 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -297,7 +297,7 @@ savehist file." (def-package! ws-butler ;; a less intrusive `delete-trailing-whitespaces' on save - :after-call (after-find-file) + :after-call (after-find-file) :config (setq ws-butler-global-exempt-modes (append ws-butler-global-exempt-modes diff --git a/modules/completion/company/config.el b/modules/completion/company/config.el index 71a071cf4..cca1c43e9 100644 --- a/modules/completion/company/config.el +++ b/modules/completion/company/config.el @@ -35,9 +35,9 @@ :config (add-to-list 'company-frontends 'company-tng-frontend) (define-key! company-active-map - [return] nil - [tab] #'company-select-next - [backtab] #'company-select-previous)) + [return] nil + [tab] #'company-select-next + [backtab] #'company-select-previous)) ;; diff --git a/modules/lang/common-lisp/config.el b/modules/lang/common-lisp/config.el index ca93024bc..22551bba5 100644 --- a/modules/lang/common-lisp/config.el +++ b/modules/lang/common-lisp/config.el @@ -17,10 +17,9 @@ :definition #'sly-edit-definition :documentation #'sly-describe-symbol) - (after! smartparens - (sp-with-modes '(sly-mrepl-mode) - (sp-local-pair "'" "'" :actions nil) - (sp-local-pair "`" "`" :actions nil))) + (sp-with-modes '(sly-mrepl-mode) + (sp-local-pair "'" "'" :actions :rem) + (sp-local-pair "`" "`" :actions :rem)) ;; (defun +common-lisp|cleanup-sly-maybe () diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 14ee8fc82..d4c694611 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -39,10 +39,10 @@ :return "return" :yield "yield") (define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens - (sp-with-modes 'python-mode - (sp-local-pair "'" nil :unless '(sp-point-before-word-p - sp-point-after-word-p - sp-point-before-same-p))) + (sp-local-pair 'python-mode "'" nil + :unless '(sp-point-before-word-p + sp-point-after-word-p + sp-point-before-same-p)) (setq-hook! 'python-mode-hook tab-width python-indent-offset)