neoclide / coc-snippets

Snippets solution for coc.nvim
970 stars 41 forks source link

User-defined filetype no syntax highlight #337

Closed A4-Tacks closed 1 year ago

A4-Tacks commented 1 year ago

我给自己的文件类型实现了一个语法高亮文件,但是当我再给这个文件类型加上snippets文件时,我打开这个类型的文件,语法高亮被意外的擦除了。 I implemented a syntax highlighting file for my file type, but when I added the snippets file to this file type, I opened the file of this type and the syntax highlighting disappeared. syntax: https://github.com/A4-Tacks/mindustry_logic_bang_lang/blob/main/syntax/mdtlbl.vim snippets: https://github.com/A4-Tacks/mindustry_logic_bang_lang/blob/main/syntax/mdtlbl.snippets


vim version: VIM - Vi IMproved 9.0 9001628
node version: v20.2.0
coc.nvim version: 0.0.82-3014125 2023-04-11 14:28:54 +0800
coc-snippets version: 3.1.6
A4-Tacks commented 1 year ago

Sorry, this is my file symbol link error.