]> git.eshelyaron.com Git - emacs.git/commit
Fix java class member without access modifier (bug#61115)
authorTheodor Thornhill <theo@thornhill.no>
Sat, 28 Jan 2023 18:51:08 +0000 (19:51 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sat, 28 Jan 2023 18:51:08 +0000 (19:51 +0100)
commit2bd0b9475384adfb4dd2cc794bbe1d8621546717
tree2d3ebff05acdd944ca6e17f1e61b3fbd14aac196
parent1de6ebf2878485a0ef6b778df7d6a14d5b22a01c
Fix java class member without access modifier (bug#61115)

This

```
public class T {
    @Autowired
        String a;
}
```

Should be indented as:

```
public class T {
    @Autowired
    String a;
}
````

* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): Add new
rule to match edge case of field_declaration indentation.
lisp/progmodes/java-ts-mode.el