vimtaku / hl_matchit.vim

highlighting match of matchit.vim
18 stars 6 forks source link

This plugin is conflict with snipMate #10

Open netvolcano opened 3 years ago

netvolcano commented 3 years ago

I find this plugin will cause the snipMate snippets can not stopping the cursor at the correct placehold if the placehold is defined with default value.

for example, a snippet as below. When you keyin the Tab after for, I want the cursor stoped at the place of ${1:count} defined . But there will be displayed as a % without the count string and cursor stop at ++ place.

snippet for
    for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) begin
        ${4}
    end
sqlmap3 commented 5 months ago

I find this plugin will cause the snipMate snippets can not stopping the cursor at the correct placehold if the placehold is defined with default value.

for example, a snippet as below. When you keyin the Tab after for, I want the cursor stoped at the place of ${1:count} defined . But there will be displayed as a % without the count string and cursor stop at ++ place.

snippet for
  for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) begin
      ${4}
  end

How to solve it?