summaryrefslogtreecommitdiff
path: root/rc/filetype/pascal.kak
AgeCommit message (Collapse)Author
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-05-29rc filetype: add trim-indent hooks to all languages that have indent hooksJohannes Altmanninger
An indent hook automatically adds whitespace, so it seems prudent to add the hook to remove unwanted whitespace again. This is what we do in most languages already.
2021-07-17make pascal filetype compatible with bashTilman List
When using bash, the whitespaces before the delimiting identifier `EOF` cause an error as well as a missing `\` before `$`.
2021-04-17rc: remove spurious tabsJohannes Altmanninger
This makes it easier to be consistent. Also replace "<<-EOF" by "<<EOF", since the former only does trims tabs, not spaces.
2020-12-29Add Pascal/Delphi language supportLennard Hofmann