Skip to content

CMakeLists.txt highlighting #7685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 7 tasks
FlorianBen opened this issue Jul 31, 2019 · 2 comments
Closed
2 of 7 tasks

CMakeLists.txt highlighting #7685

FlorianBen opened this issue Jul 31, 2019 · 2 comments
Labels
type/enhancement An improvement of existing functionality
Milestone

Comments

@FlorianBen
Copy link
Contributor

Description

Currently the file highlighting is triggered by the file name or the file extension, but sometime it is not enough. For instance, a CMakeLists.txt file is not recognized as a CMake file. As well, CMakeLists.txt files are case sensitive, so a cmakelists.txt should not be highlighted.
It may be fixed for CMakeLists by using a new file filter:
https://github.com/FlorianBen/gitea/commit/08f733310ccfaa77b86b6460fe7605fc04d4d627

@lafriks
Copy link
Member

lafriks commented Jul 31, 2019

Please send PR with these changes master...FlorianBen:master

@lafriks lafriks added the type/enhancement An improvement of existing functionality label Jul 31, 2019
@lafriks lafriks added this to the 1.10.0 milestone Jul 31, 2019
@lunny
Copy link
Member

lunny commented Aug 4, 2019

Closed by #7686

@lunny lunny closed this as completed Aug 4, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants