GNU nano - Bugs: bug #53699, [Request] parse first line of doc...
You are not allowed to post comments on this tracker with your current authentication level.
bug #53699: [Request] parse first line of doc to determine syntax, in addition to .extension
Submitter: | Rob Munsch <robmunsch> | ||
Submitted: | Thu 19 Apr 2018 04:45:38 PM UTC | ||
Severity: | 1 - Wish | Status: | Works For Me |
Assigned to: | None | Open/Closed: | Closed |
Mon 23 Apr 2018 05:29:57 PM UTC, comment #4: |
Benno Schulenberg <bens> |
Thu 19 Apr 2018 07:17:11 PM UTC, comment #3: If you're on 2.0.9, then you're on a Mac? Or on an old Debian? If the former, you want to look into Homebrew (https://brew.sh/).
|
Benno Schulenberg <bens> |
Thu 19 Apr 2018 06:04:23 PM UTC, comment #2: Ah. Well then.
|
Rob Munsch <robmunsch> |
Thu 19 Apr 2018 05:53:43 PM UTC, comment #1: Nano already scans the first line of the file if the extension gives no clue. This detection is present since I-don't-know-when, but should be working since at least 2.6.1.
|
Benno Schulenberg <bens> |
Thu 19 Apr 2018 04:45:38 PM UTC, original submission:
I'm always running into places and scripts that insist on not having any sort of file extension which, while I admit keeps *bin dirs looking clean, is annoying when editing them.
|
Rob Munsch <robmunsch> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-04-24 | bens | Open/Closed | Open | Closed | |
2018-04-21 | bens | Severity | 3 - Normal | 1 - Wish | |
2018-04-21 | bens | Summary | [Request] Parse first line of doc for syntax highlighting in addition to .extension, e.g. shebang for scripts | [Request] parse first line of doc to determine syntax, in addition to .extension | |
2018-04-19 | bens | Status | None | Works For Me | |
Summary | [Request] Parse first line of doc for syntax highlighting in addition to .extension e.g. shebang for scripts | [Request] Parse first line of doc for syntax highlighting in addition to .extension, e.g. shebang for scripts |
Powered by Savane 3.13-758e.
Corresponding source code
(It seems that Macos X has 2.0.6 installed by default, so probably you are on Red Hat 6.9 or CentOS 6.9 -- but I'm perplexed that these fairly recent releases ship with such an ancient version of nano.)