Skip to content

Update filetype plugin#543

Merged
amadeus merged 1 commit into
pangloss:developfrom
dmitrivereshchagin:update-ftplugin
Jul 15, 2016
Merged

Update filetype plugin#543
amadeus merged 1 commit into
pangloss:developfrom
dmitrivereshchagin:update-ftplugin

Conversation

@dmitrivereshchagin

Copy link
Copy Markdown
Contributor
  • Add header
  • Replace 're' with 'regexpengine'
  • Simplify patch check

- Add header
- Replace 're' with 'regexpengine'
- Simplify patch check
@bounceme

Copy link
Copy Markdown
Collaborator

should we add a undo_ftplugin variable?

@bounceme

bounceme commented Jul 15, 2016

Copy link
Copy Markdown
Collaborator

maybe also make the iskeyword setting be set in the ftplugin if the vim version is too old

@dmitrivereshchagin

Copy link
Copy Markdown
Contributor Author

Yes we should. But to make it work one of the following should be done

  • provide full filetype plugin which set b:did_ftplugin variable
  • move current filetype plugin to after/ftplugin directory

In other cases filetype plugin bundled with Vim will override b:undo_ftplugin.

@amadeus amadeus merged commit 3072958 into pangloss:develop Jul 15, 2016
@dmitrivereshchagin dmitrivereshchagin deleted the update-ftplugin branch July 15, 2016 07:48
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.

3 participants