[Geany-Users] Any way to make geany recognize modelines for syntax coloring?
collaborista at xxxxx
Wed Jan 13 02:15:56 UTC 2016
I have not seen the relevant geany code, but wouldn't it be a better
approach to fix the hardcoding of the filetype names and make this
Ok, certainly not a quick fix anymore... :)
However, a nice case of case-sensitivity in the code that better
should not be there.
I wish I could dig deeper, for now I just use the menu until geany one
day will support mode-line syntax configurations out of the box...
Thanks and have a nice week,
On Wed, Jan 13, 2016 at 1:42 AM, Lex Trotman <elextr at gmail.com> wrote:
> 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
> Users mailing list
> Users at lists.geany.org
More information about the Users