syntax files not working in plugin directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

syntax files not working in plugin directory

Renato Fabbri
I've been using this very minimal syntax highlighting
scheme for Toki Pona,
its just an ftdetect which
sets the ft=tokipona
and a syntax file that is loaded by vim when
ft=tokipona:
https://github.com/ttm/tokipona

I like to keep the ftdetect/ ftplugin/ and syntax/
inside ~/.vim/plugin/tokipona/
(such as by doing
$ git clone https://github.com/ttm/tokipona ~/.vim/plugin/
)
For some reason,
the syntax file is only loaded if inside
~/.vim/syntax/ (not if inside ~/.vim/plugin/tokipona/syntax/).
But both the ftdetect and ftplugin are triggered inside
the plugin directory as expected.

Am I missing something?
The syntax file should be loadable from
the plugins directory, right?
How?

+tx,

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.