Skip to content

Fix warning text found after endfunction when verbose non-zero#227

Merged
cxw42 merged 1 commit intoeditorconfig:masterfrom
bruhtus:fix/221-text-found-after-endfunction
Sep 23, 2023
Merged

Fix warning text found after endfunction when verbose non-zero#227
cxw42 merged 1 commit intoeditorconfig:masterfrom
bruhtus:fix/221-text-found-after-endfunction

Conversation

@bruhtus
Copy link
Contributor

@bruhtus bruhtus commented Sep 16, 2023

Related to #221.

The argument after endfunction can only be (from :h :endfunction):

  • | command: command to execute next
  • \n command: command to execute next
  • " comment: always ignored
  • anything else: ignored, warning given when 'verbose' is non-zero

Not really solving the main issue on #221, just trying to clean up unnecessary warning message when using verbose option.

The argument after endfunction can only be (from `:h :endfunction`):
- | command       command to execute next
- \n command      command to execute next
- " comment       always ignored
- anything else   ignored, warning given when 'verbose' is non-zero
@cxw42 cxw42 merged commit 0d54ea8 into editorconfig:master Sep 23, 2023
@bruhtus bruhtus deleted the fix/221-text-found-after-endfunction branch September 24, 2023 18:01
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