Skip to content
Snippets Groups Projects

Added syntax color for Drupal files (.inc, .module and .install)

Closed gitlab-qa-bot requested to merge github/fork/yvmarques/patch-1 into master

Created by: yvmarques

I'm using gitlab mainly for drupal projects. Because I've not the knowledge to do something cleaner (like detect the language file) I just added the extension in the file.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: cweagans

    While I like the idea of this patch (I'm a Drupal developer too), I don't think this is a good way to do it. Instead, there should be some mapping between extensions and file types in a configuration file somewhere.

    By Administrator on 2012-02-19T19:53:43 (imported from GitLab project)

    By Administrator on 2012-02-19T19:53:43 (imported from GitLab)

  • Created by: yvmarques

    I totally agree with you, but unfortunately as I said I've not enough knowledge to do it :(

    By Administrator on 2012-02-20T05:35:38 (imported from GitLab project)

    By Administrator on 2012-02-20T05:35:38 (imported from GitLab)

  • Created by: superbobry

    See #324 (closed) as well.

    By Administrator on 2012-02-20T05:48:28 (imported from GitLab project)

    By Administrator on 2012-02-20T05:48:28 (imported from GitLab)

  • Created by: yvmarques

    @superbobry I like this idea also :)

    By Administrator on 2012-02-20T05:54:47 (imported from GitLab project)

    By Administrator on 2012-02-20T05:54:47 (imported from GitLab)

  • Created by: mikkyhouse

    Not actual any more. We use pygments.rb code detection

    By Administrator on 2012-03-14T13:54:31 (imported from GitLab project)

    By Administrator on 2012-03-14T13:54:31 (imported from GitLab)

Please register or sign in to reply
Loading