Minor reformatting & docstring tweak
This commit is contained in:
parent
77eee38c41
commit
af41e17355
2 changed files with 7 additions and 7 deletions
|
@ -186,8 +186,7 @@ possible, or just one char if that's not possible."
|
|||
(save-excursion
|
||||
(insert-char ?\s (- ocol (current-column)) nil))))
|
||||
;;
|
||||
((and (= n 1)
|
||||
(bound-and-true-p smartparens-mode))
|
||||
((and (= n 1) (bound-and-true-p smartparens-mode))
|
||||
(cond ((and (memq (char-before) (list ?\ ?\t))
|
||||
(save-excursion
|
||||
(and (> (- (skip-chars-backward " \t" (line-beginning-position))) 0)
|
||||
|
@ -213,7 +212,7 @@ possible, or just one char if that's not possible."
|
|||
((run-hook-with-args-until-success 'doom-delete-backward-functions))
|
||||
((doom/backward-delete-whitespace-to-column)))))))
|
||||
;; Otherwise, do simple deletion.
|
||||
(t (delete-char (- n) killflag))))
|
||||
((delete-char (- n) killflag))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/retab (arg &optional beg end)
|
||||
|
|
|
@ -145,11 +145,12 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
(advice-add #'ivy-posframe-setup :override #'ignore)
|
||||
:config
|
||||
(setq ivy-fixed-height-minibuffer nil
|
||||
ivy-posframe-parameters `((min-width . 90)
|
||||
ivy-posframe-parameters
|
||||
`((min-width . 90)
|
||||
(min-height . ,ivy-height)
|
||||
(internal-border-width . 10)))
|
||||
|
||||
;; ... let's do it manually
|
||||
;; ... let's do it manually instead
|
||||
(unless (assq 'ivy-posframe-display-at-frame-bottom-left ivy-display-functions-props)
|
||||
(dolist (fn (list 'ivy-posframe-display-at-frame-bottom-left
|
||||
'ivy-posframe-display-at-frame-center
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue