Nano better syntax highlighting

This commit is contained in:
Daniel Kluge 2025-03-06 09:06:23 +01:00
parent b947ea8050
commit 430fe74bc6
4 changed files with 15 additions and 9 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule ".nano/syntax"]
path = .nano/syntax
url = https://github.com/scopatz/nanorc.git

1
.nano/syntax Submodule

@ -0,0 +1 @@
Subproject commit 1aa64a86cf4c750e4d4788ef1a19d7a71ab641dd

20
.nanorc
View File

@ -1,9 +1,11 @@
set autoindent
set backup
set backupdir "/home/daniel/.nanobackup"
set constantshow
set indicator
set linenumbers
set mouse
set noconvert
set multibuffer
set autoindent # Automatic indent
set backup # Create backup files
set backupdir "~/.nano/backup" # Backup directory
set constantshow # Cursor position in statusbar
set indicator # Should display a scrollbar, but probably deprecated?
set linenumbers # Display line nunberd
set mouse # Mouse support
set noconvert # Don't convert DOS/Mac format automatically
set multibuffer # Multifile support
include ~/.nano/styles/*.nanorc # Styles from a third party repo