Skip to content

Instantly share code, notes, and snippets.

View alanocallaghan's full-sized avatar

Alan O'Callaghan alanocallaghan

View GitHub Profile
@benjamin-chan
benjamin-chan / R.nanorc
Last active April 27, 2025 14:56
R syntax highlighting for nano editor
################################################################################
#
# R.nanorc -- nano syntax-highlighting file for R
#
# Origin: This file is part of the pkgutils package for R.
#
# Usage: This file should be placed in a directory such as /usr/share/nano/ (on
# Ubuntu 12.04). That nano uses syntax highlighting at all might need to be
# enabled separately.