vim-cmake-syntax icon indicating copy to clipboard operation
vim-cmake-syntax copied to clipboard

Help: Why I must type :set syntax=cmake to let this script work?

Open widon1104 opened this issue 2 years ago • 0 comments

  1. ➜ bundle vim --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov 28 2022 06:54:26) 包含补丁: 1-875, 878, 884, 948, 1046, 1365-1368, 1382, 1401-1403
  2. vim-cmake-syntax is download today.
  3. ➜ bundle cat ~/.vimrc| grep syntax syntax on syntax enable

I find out if I open a CMakeLists.txt use vim, the syntax is not right, I must type :set syntax=cmake to make this scrpit work.

Why this script do not work automatic when I open a CMakeLists.txt use vim.

widon1104 avatar Oct 04 '23 10:10 widon1104