Closed datwaft closed 3 years ago
augroup! macro only executes the first statement.
augroup!
e.g.
; Set terminal options (augroup! terminal-options ; Enter Terminal-mode (insert) automatically (autocmd! TermOpen * "startinsert") ; Disables line number on terminal buffers (autocmd! TermOpen * #(do (set-local! nonumber) (set-local! norelativenumber))) ; Disables spell on terminal buffers (autocmd! TermOpen * #(set-local! nospell)) ; Disables sign column on terminal buffers (autocmd! TermOpen * #(set-local! signcolumn :no)))
augroup! should execute all statements.
augroup! only executes the first autocmd!.
autocmd!
Fixed by ae844912e39c2fd29149ad34369baa4a8e9b32b1.
augroup!
macro only executes the first statement.e.g.
Expected result
augroup!
should execute all statements.Result
augroup!
only executes the firstautocmd!
.