1
2" Tests for not doing smart indenting when it isn't set.
3function! Test_nosmartindent()
4  new
5  call append(0, ["		some test text",
6      	\ "		test text",
7      	\ "test text",
8      	\ "		test text"])
9  set nocindent nosmartindent autoindent
10  exe "normal! gg/some\<CR>"
11  exe "normal! 2cc#test\<Esc>"
12  call assert_equal("		#test", getline(1))
13  enew! | close
14endfunction
15