Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LHCb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 198
    • Issues 198
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 52
    • Merge requests 52
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCbLHCb
  • LHCb
  • Merge requests
  • !2509

Use c++ syntax highlighting for icpp files

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christoph Hasse requested to merge test_new_gitattribute into master Apr 08, 2020
  • Overview 2
  • Commits 2
  • Pipelines 1
  • Changes 1

Following the documentation here https://docs.gitlab.com/ee/user/project/highlighting.html
I added a line to .gitattributes to highlight icpp files as c++.

I don't see the syntax highlighting applied yet, but I seems to be just that only the .gitattributes in the master branch count.
E.g a test in my Gaudi for here shows a highlighted icpp file.
I propose to check this here before I create MRs for other projects.

cc @clemenci @rmatev

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: test_new_gitattribute