aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
AgeCommit message (Collapse)Author
2018-03-05Match alphabetic characters in filename substitutionTeddy Wing
Instead of matching any two characters (`..`), match specifically alphabetic characters (`\a\{2}`) because all language codes are two-letter codes.
2018-03-05Accept command modifiersTeddy Wing
Allows us to call our commands like: :vertical RailsLocaleAlternate fr :rightbelow RailsLocaleAlternate en
2018-03-05Change `command!` `<args>` to `<q-args>`Teddy Wing
So language codes don't have to be quoted. Before: :VRailsLocaleAlternate 'fr' After: :VRailsLocaleAlternate fr
2018-03-05Add commands to open an alternate Rails locale fileTeddy Wing
Two new commands that will open an alternate Rails locale file in either a horizontal or vertical split. Takes the current filename and replaces the two-letter language code with the argument given to the command.