Incorrect Closing Bracket Indentation on Emacs 28.0.5
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### What did you expect to happen?
Proper indentation for the closing bracket in CPP (Or other related languages)
### What actually happened?
Doom Emacs 27 applies proper indentation to closing brackets ( in "if else , for loops etc" ) , whereas Doom Emacs 28 does not indents the closing brackets ( both native compiled and non-native compiled versions ( emacs-git) ) as can be seen in the attached image.

### Describe your attempts to resolve the issue
Tried disabling smart-parens mode , and explored various indentation function in emacs, though evil-indent can fix the wrong indentation , it has to be applied manually every time and doesn't seems to be a proper solution.
### Steps to reproduce
1.Open Doom Emacs 28+ ( Emacs-git or any other Native Emacs 28+ versions ) Note : Issue doesn't happens in Emacs 27
2.Open a C++ file.
3.Type a For loop and open "{" bracket and hit enter. The closing bracket will not be properly indented.
### System Information
https://pastebin.com/Q4uvdHnD
Contributor guide
Assessment
This issue has not been assessed yet.