mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #4027: tab not invoking emmet at EOB
This commit is contained in:
@ -124,7 +124,8 @@ snippet, or `emmet-expand-yas'/`emmet-expand-line', depending on whether
|
|||||||
(call-interactively
|
(call-interactively
|
||||||
(cond ((or (<= (current-column) (current-indentation))
|
(cond ((or (<= (current-column) (current-indentation))
|
||||||
(not (eolp))
|
(not (eolp))
|
||||||
(not (memq (char-after) (list ?\n ?\s ?\t))))
|
(not (or (memq (char-after) (list ?\n ?\s ?\t))
|
||||||
|
(eobp))))
|
||||||
#'indent-for-tab-command)
|
#'indent-for-tab-command)
|
||||||
((bound-and-true-p yas-minor-mode)
|
((bound-and-true-p yas-minor-mode)
|
||||||
(if (yas--templates-for-key-at-point)
|
(if (yas--templates-for-key-at-point)
|
||||||
|
Reference in New Issue
Block a user