Skip to content
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

Define b:undo_ftplugin and fix b:match_words #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lilyball
Copy link

Clean up the ftplugin a bit. Use the save_cpo pattern to ensure cpo is
set appropriately, and define a b:undo_ftplugin.

Change the b:match_words definition to match else/else if.

There's no standard extension for these files, so no ftdetect, but an
ftplugin called `fishprofile` is defined that sets up tabstop and
folding to make it easier to read/navigate these files.

When reading a fish profile file, run `:setf fishprofile` to turn on the
plugin.
Clean up the ftplugin a bit. Use the save_cpo pattern to ensure cpo is
set appropriately, and define a b:undo_ftplugin.

Change the b:match_words definition to match else/else if.
@lilyball
Copy link
Author

Note: this is based on top of #24.

@blankname blankname mentioned this pull request Jan 5, 2020
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant