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

added support for .nimble files #1842

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

added support for .nimble files #1842

wants to merge 2 commits into from

Conversation

ire4ever1190
Copy link
Contributor

added support for .nimble files which is what nim uses with its build tool nimble
added syntax highlighting task which is used in nimble files

@ire4ever1190
Copy link
Contributor Author

nim check doesn't work well with .nimble files
is there anyway to disable linting for .nimble files while keeping the syntax highlighting (without needed to create a seperate syntax file)?

@MasFlam
Copy link
Contributor

MasFlam commented Oct 10, 2020

@ire4ever1190 You can create a separate syntax file like nimble.yaml that would - include: "nim". This would copy syntax highlighting from Nim, but make .nimble files be their own separate filetype, which would make the linter plugin not run on them.

@ire4ever1190
Copy link
Contributor Author

Ah thank you, that will help me clean this up

@ire4ever1190 ire4ever1190 reopened this Oct 10, 2020
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