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

Please support files without file ending #400

Open
rubyFeedback opened this issue Oct 12, 2022 · 2 comments
Open

Please support files without file ending #400

rubyFeedback opened this issue Oct 12, 2022 · 2 comments

Comments

@rubyFeedback
Copy link

Please support files without file ending.

I am struggling to find out which syntax to use for this.

It is easy to make things work on e. g. .md files but
I don't know how to enable nano highlighting via
files that have no file ending. It would be great
if the README can explain this.

@CodeMan99
Copy link

GNU nano supports extensions or shebang lines. For example, see this header configuration in sh.nanorc. See also, the official man nanorc.

@davidhcefx
Copy link
Contributor

davidhcefx commented Feb 3, 2024

@rubyFeedback Can you give an example of which language are you working on? Does that kind of file has the same pattern at the first line? Please provide more details so that somebody can create a fix for this.

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

No branches or pull requests

3 participants