summaryrefslogtreecommitdiff
path: root/rc/filetype/fish.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 some missing ModeChange hooks for trim-indentJohannes Altmanninger
Some languages have a trim-indent command but don't use it (for no apparent reason). Make them trim trailing spaces when exiting insert mode, like most other languages support scripts do.
2021-08-09rc fish: fix keyword highlighting false positiveJohannes Altmanninger
"command" is a built-in, but these are not: $command some-command command-some
2020-10-19rc fish.kak: split fish-insert hook out from fish-indentJohannes Altmanninger
Same as in sh.kak; this allows to only disable the insert hook using %opt{disabled_hooks}.
2020-09-19*sh.kak: do not highlight expansions if their $ is escapedJohannes Altmanninger
2020-08-23fish.kak: add missing highlighting for builtins true and stringJohannes Altmanninger
I forgot them last time, sorry for the noise
2020-07-28rc: conservative comment highlighting for shellsJohannes Altmanninger
Fixes spurious comment highlighting for these examples: echo \# foo echo 1#foo echo 2\ #foo
2020-06-25fish.kak: do not treat escaped quotes as region startJohannes Altmanninger
Just like in sh.kak, for example: echo \" \\\" this should not be highlighted
2020-05-28fish.kak: add new fish builtinsJohannes Altmanninger
eval is a proper builtin as well now
2020-05-28fish.kak: fix highlighting for single quoted stringsJohannes Altmanninger
fish allows to escape single quotes within single quoted strings, just like double quotes in double quoted strings. https://fishshell.com/docs/current/index.html#quotes
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-04-10Fixed several more support files.Justin Frank
2019-04-08Modified base files to use modulesJustin Frank
2019-03-21Merge remote-tracking branch 'alexherbo2/rc-categories'Maxime Coste
2019-03-21Add categories in rc/Alex Leferry 2
Closes #2783