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

  • hamiltino
    replied
    How do you enable linter support?

    How do you use/enable the linter support?

    Leave a comment:


  • hamiltino
    replied
    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?

    Leave a comment:


  • mulenmar
    replied
    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.

    Leave a comment:


  • Gusar
    replied
    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.

    Leave a comment:


  • Calinou
    replied
    How do you automatically enable syntax highlighting, by the way?

    Is there a list of supported languages for syntax highlighting?

    Leave a comment:


  • 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...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X