-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LF filetype Vim plugin #365
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! @lhstrh should we merge this?
I noticed that this really great feature is undocumented. Would it be possible to document this under I think |
Yes absolutely, this has been very convenient especially when working within Autoware's ADE image. However, as @Feliix42 said in Slack, having this in its own repository in the LF organisation could make the install process even more straightforward, provided that the plugin repository is public. But I've noticed that all repos there are private; is this a conscious decision or a simple coincidence? |
Regarding the latter: I already prepped a repository and moved the code in there with some rudimentary documentation. If there's no opposition, I can create a public repository in the LF organization and push the code. :) |
The repository is there now; just let me know when we can make it public, then I'll also remove the plugin from the util folder. |
The lfc+vim plugin should be documented in Downloading and Building, at a minimum with a pointer to documentation in the new repo. |
I've edited the Downloading and Building wiki page, making the assumption that the plugin repository will be made public. We'll need to correct the page if we choose to keep it private. |
Thanks @Feliix42! I don't think there is any reason to keep it private ;) Did you already remove the plugin within the LF repo? |
This is a little Vimscript code to add a Lingua Franca filetype to (neo)vim that I've written that others may benefit from.
It brings basic syntax highlighting and rudimentary text-object support for the target code blocks.
It can be installed by copying the three directories (
ftplugin
,ftdetect
,syntax
) and their content into:~/.vim/
if you're using Vim~/.config/nvim/
if you're using Neovim'runtimepath'
(One can of course, simply copy the content of the directories if they already exist).