Skip to content
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

lower-case no syntax highlighting #11

Closed
zhang-wenchao opened this issue Nov 25, 2018 · 4 comments
Closed

lower-case no syntax highlighting #11

zhang-wenchao opened this issue Nov 25, 2018 · 4 comments

Comments

@zhang-wenchao
Copy link

No description provided.

@pboettch
Copy link
Owner

Do you have an example?

@zhang-wenchao
Copy link
Author

image

cmake_minimum_required(VERSION 3.5.1)

project(lib-iot-client)

set(CMAKE_C_STANDARD 90)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(CMAKE_VERBOSE_MAKEFILE FALSE)

add_subdirectory(serialport)

enable_testing()

add_subdirectory(test)

SET()

@pboettch
Copy link
Owner

If it looks like that, there is problem with your VIM configuration.

What does set ft? (filetype) say? Are you sure that the syntax/cmake.vim is in the right place?

This is how your code looks on my vim:

image

@zhang-wenchao
Copy link
Author

I checked the cause of the error, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants