summaryrefslogtreecommitdiff
path: root/rc/filetype/java.kak
AgeCommit message (Collapse)Author
2022-07-05Move user mappings to <space> and keep/remove selection to ,Maxime Coste
2022-07-05Make `x` just select the full linesMaxime Coste
`x` is often criticized as hard to predict due to its slightly complex behaviour of selecting next line if the current one is fully selected. Change `x` to use the previous `<a-x>` behaviour, and change `<a-x>` to trim to fully selected lines as `<a-X>` did. Adapt existing indentation script to the new behaviour
2022-01-29rc:filetype:java refactored to shell block add-highligher with additional ↵kjduncan
highlighter for module system, added static word list and the keywords var yield.
2021-05-17Java: add highlighting for char literalYerlan
2021-04-17rc: use a separate *-insert hook to auto-insert commentsJohannes Altmanninger
This should cover all filetypes that already auto-insert comments, except for rust.kak, which is left for a follow-up. Most of these are straightforward, some explanation for special cases: rc/filetype/zig.kak rc/filetype/cue.kak These indent hooks used their own logic to indent after "{" only if no comment was inserted. Replace this logic by checking if a comment was inserted. This works because these "*-insert" hooks are run before their respective "*-indent" hooks. rc/filetype/php.kak This also has some logic to insert "*" after "/*" lines. Basic usage seems to work still. In future this should borrow from the c-family one, which works a bit better.
2021-04-17rc: when auto-inserting comments, include trailing spaces from previous lineJohannes Altmanninger
We already do this in most places.
2021-02-10rc java: highlight byte/short/long primitive typesJohannes Altmanninger
2020-07-29Update deindentation in java.kakJohn Isom
2020-07-27Fix indentation rule for java.kakJohn Isom
2020-01-29rc: Highlight embedded documentationFrank LENORMAND
This commit adds a `documentation` face to the builtin themes, used to highlight common documentation syntaxes: /** * JavaDoc */ /*! * QtDoc */ /// Inline documentation ## Inline documentation The face is only an alias to the `comment` one for now. Closes #1944
2019-10-22src: Create a <semicolon> named keyFrank LENORMAND
This commit allows using the <semicolon> expansion in commands, instead of `\;`. It makes commands look more elegant, and prevents new-comers from falling into the trap of using <a-;> without escaping the semicolon.
2019-10-16Replace ModeChange hooks by ModePush and ModePopMaxime Coste
Remove deprecated InsertBegin, InsertEnd, NormalBegin, NormalEnd hooks. Closes #2545
2019-04-13Changed '🦀' to '§' for complex module quotingJustin Frank
2019-04-11Update remaining files to new provide/require formatJustin Frank
2019-04-08Modified base files to use modulesJustin Frank
2019-03-21Add categories in rc/Alex Leferry 2
Closes #2783