Custom plugin affected the cursor agent

My custom plugin has affected the cursor agent.

The function of this plugin is merely to provide syntax highlighting for the “logic” files.

when I installed it ,

When I asked him about logic, always always always generting,
and cant’t use cursor tab.

when I unstalled it ,

the “logic” file is as a “txt” file, everything works fine.

when I enabled “Disable for plaintext”, the cursor tab function also returned to normal afterwards.

I have no idea ,

Here is the code of my plugin.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.