Ticket #3216 (closed enhancement: fixed)

Opened 11 years ago

Last modified 10 years ago

better syntax highlighting for CMakeLists.txt

Reported by: skvadrik Owned by: andrew_b
Priority: major Milestone: 4.8.13
Component: mcedit Version: 4.8.12
Keywords: highlighting syntax cmake Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

Hi!

It seems that current cmake.syntax is incomplete. Here's a bit better one. :)
(It still misses some of cmake keywords, which are commonly used, but not mentioned in cmake's help.)

Attachments

cmake.syntax (32.2 KB) - added by skvadrik 11 years ago.

Change History

Changed 11 years ago by skvadrik

comment:1 Changed 11 years ago by skvadrik

I also propose to recognise .cmake files as cmake sources,
thus change rule in Syntax file to:

file (CMakeLists.txt|.\*.cmake)$ CMake
include /home/skvadrik/.config/mc/mcedit/cmake.syntax

comment:2 Changed 10 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.13

Applied. Thanks!

Branch: 3216_cmake_syntax_highlighting
changeset:6951e395902da57d742424f338f4cb3de6b3edd8

comment:3 Changed 10 years ago by andrew_b

  • Votes for changeset set to andrew_b
  • Branch state changed from on review to approved

comment:4 Changed 10 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:5 Changed 10 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.