Announcement

Collapse
No announcement yet.

GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More

    Phoronix: GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More

    GNU Nano 2.4.0 was released this morning as the first stable update to this open-source CLI text editor in a number of years...

    http://www.phoronix.com/scan.php?pag...2.4.0-Released

  • #2
    How do you automatically enable syntax highlighting, by the way?

    Is there a list of supported languages for syntax highlighting?

    Comment


    • #3
      Originally posted by Calinou View Post
      How do you automatically enable syntax highlighting, by the way?
      There should be commented-out include directives in /etc/nanorc, looks like this
      Code:
      ## Nanorc files
      #include "/usr/share/nano/nanorc.nanorc"
      
      ## C/C++
      #include "/usr/share/nano/c.nanorc"
      Just uncomment the stuff you want syntax highlighting for.

      Originally posted by Calinou View Post
      Is there a list of supported languages for syntax highlighting?
      /usr/share/nano contains all the syntax highlighting files.

      Comment


      • #4
        Originally posted by Gusar View Post
        There should be commented-out include directives in /etc/nanorc, looks like this
        Code:
        ## Nanorc files
        #include "/usr/share/nano/nanorc.nanorc"
        
        ## C/C++
        #include "/usr/share/nano/c.nanorc"
        Just uncomment the stuff you want syntax highlighting for.


        /usr/share/nano contains all the syntax highlighting files.
        I'd copy it to ~/.nanorc first -- no need to go messing with root-level settings for a personal preference, just override it for yourself. No risk of fscking something up systemwide, and no need to bother typing sudo or su and your password...assuming one cared about the extra typing.

        Comment


        • #5
          Linter Support

          Originally posted by phoronix View Post
          Phoronix: GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More

          GNU Nano 2.4.0 was released this morning as the first stable update to this open-source CLI text editor in a number of years...

          http://www.phoronix.com/scan.php?pag...2.4.0-Released

          How do you enable the linter support?

          Comment


          • #6
            How do you enable linter support?

            How do you use/enable the linter support?

            Comment

            Working...
            X