Guys,
this is nano specific. When I do python scripting I heavily rely on:
set tabstospaces
However when I try c stuff it leads to:
$ make clean
Makefile:4: *** missing separator. Stop.
Because:
$ cat -e -t -v Makefile
CFLAGS=-Wall -g$
$
clean:$
rm -f sample
As it should be:
$ cat -e -t -v Makefile
CFLAGS=-Wall -g$
$
clean:$
^Irm -f sample
The natural attempt was trying to add this tab setting to colour syntax files in .nanorc:
# Colouring syntax included in a standard package
# but tabtosize is different
include "~/.nano/python.nanorc"
include "~/.nano/c.nanorc"
And of course such an approach could not work.
Is there a ready made solution to have a different tabtospace setting for two separate languages within a single user context ?
Or what else can I try or google for?
Thanks in advance for all the hints.