Closed 3052 closed 4 months ago
Okay. I've been extremely busy recently which is also why I haven't opened a PR to vim, but I will try to look at this during the weekend.
syntax/typst.vim
uses autoload functions to check user-defined options and is probably why you get errors.
Can you describe what exactly you want? What do you not want to load and why? Currently, there is not much more in typst.vim
than syntax.
I just want syntax only, I dont care about anything else. Ideally I would like to just take syntax/typst.vim
and dump it into my Vim installation for use
In that case, I would just grab the file and remove all lines that start with runtime
or call
.
Ideally I would like to just take syntax/typst.vim
and dump it into my Vim installation for use - that means no editing
You are requesting to separate out parts of the plugin for your special use case. There is no way of going around that you need to do some manual steps yourself. For this, you only need to remove 4 lines which is less effort than asking me to do it for you.
all you have to do is wrap any logic in "if" statement, so that it only runs if the user has plugin installed. why is that an issue?
I want to use syntax only, no plugins
but if I just use
syntax/typst.vim
, it causes errors