branch: elpa/nasm-mode commit b384240e61eb6b9c57a4d1225d3203a0bd68d5db Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Include prefixes in smart indentation. --- nasm-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nasm-mode.el b/nasm-mode.el index b70ea58..4455246 100644 --- a/nasm-mode.el +++ b/nasm-mode.el @@ -423,7 +423,8 @@ (looking-at (nasm--opt nasm-pp-directives)) (looking-at "^\\s-*[[;]") (and (looking-at nasm-label-regexp) - (not (looking-at (nasm--opt nasm-instructions))))) + (not (looking-at (nasm--opt nasm-instructions))) + (not (looking-at (nasm--opt nasm-prefix))))) (indent-line-to 0) (indent-line-to nasm-basic-offset)) (when (> (- (point-max) orig) (point))