[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
While editing a CMake file, how to turn off smart indentation?
From: |
Yaron Cohen-Tal |
Subject: |
While editing a CMake file, how to turn off smart indentation? |
Date: |
Thu, 16 Jul 2015 10:23:27 +0300 |
Hi,
I just want each line to get the same indentation as the previous line, and
that TAB would indent 4 spaces. For C++ I managed it with:
(setq-default indent-tabs-mode nil)
(setq-default c-syntactic-indentation nil)
(setq-default c-basic-offset 4)
In my `.emacs`, but for CMake files Emacs just indents the lines
automatically according to its own rules, and TAB has no effect at all.
Thanx,
Yaron
- While editing a CMake file, how to turn off smart indentation?,
Yaron Cohen-Tal <=
- Re: While editing a CMake file, how to turn off smart indentation?, Vaidheeswaran C, 2015/07/17
- Re: While editing a CMake file, how to turn off smart indentation?, Vaidheeswaran C, 2015/07/17
- Re: While editing a CMake file, how to turn off smart indentation?, Ian Zimmerman, 2015/07/17