[Geany-Users] Any way to make geany recognize modelines for syntax coloring?
elextr at xxxxx
Wed Jan 13 00:42:04 UTC 2016
On 13 January 2016 at 10:26, Matthew Brush <mbrush at codebrainz.ca> wrote:
> On 2016-01-12 5:40 AM, Karma Kolabor wrote:
>> I have not seen any way to make geany recognize modeline line e.g.
>> # vi: set ft=ruby
>> is there a feature or any plugin for this?
> What about just adding a Ruby file extension or shebang line to allow Geany
> to detect it? Sorry if it's not permissible.
A vagrant file is not a ruby program file, its a configuration file
for vagrant that happens to be in ruby syntax. The name of the config
file is "Vagrantfile" so its not possible to add .rb, and since its
not a program it won't run so it should not have a shebang.
> Matthew Brush
> Users mailing list
> Users at lists.geany.org
More information about the Users