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 configurable? 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, Karma
On Wed, Jan 13, 2016 at 1:42 AM, Lex Trotman elextr@gmail.com wrote:
On 13 January 2016 at 10:26, Matthew Brush mbrush@codebrainz.ca wrote:
On 2016-01-12 5:40 AM, Karma Kolabor wrote:
Hi,
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.
Cheers, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users