[beagleboard] Re: Syntax highlight in nano

2020-09-07 Thread jose...@gmail.com
If you provide appropriate config, *vim* will give you syntax highlight. I always add in my boards the following config in */etc/vim/vimrc.local*: let g:skip_defaults_vim = 1 syntax on set background=dark set modeline set modelines=3 set mouse= BR, José Gonçalves A segunda-feira, 7 de setembro

[beagleboard] Re: Syntax highlight in nano

2020-09-07 Thread Pavel Yermolenko
BTW, the *vim* editor does not provide syntax highlighting either. On Monday, September 7, 2020 at 1:41:44 PM UTC+2, Pavel Yermolenko wrote: > > In the file */etc/nanorc *there is following line: > > ## To include all existing syntax definitions, you can do: > include "/usr/share/nano/*.nanorc"

[beagleboard] Re: Syntax highlight in nano

2020-09-07 Thread Pavel Yermolenko
In the file */etc/nanorc *there is following line: ## To include all existing syntax definitions, you can do: include "/usr/share/nano/*.nanorc" Here is the content of */usr/share/nano/*: debian@beaglebone:~$ ls /usr/share/nano/ -l total 180 -rw-r--r-- 1 root root 882 Jun 12 2019 asm.nanorc