view src/testdir/test_smartindent.vim @ 11244:d9077ce382a8 v8.0.0508

patch 8.0.0508: Coveralls no longer shows per-file coverage commit https://github.com/vim/vim/commit/d722fd74d84c8e7119d9599b67388bd26a2dacf5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 25 17:46:59 2017 +0100 patch 8.0.0508: Coveralls no longer shows per-file coverage Problem: Coveralls no longer shows per-file coverage. Solution: Add coverage from codecov.io. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Mar 2017 18:00:05 +0100
parents eb9a7296ae9f
children 268b1036cd17
line wrap: on
line source


" Tests for not doing smart indenting when it isn't set.
function! Test_nosmartindent()
  new
  call append(0, ["		some test text",
      	\ "		test text",
      	\ "test text",
      	\ "		test text"])
  set nocindent nosmartindent autoindent
  exe "normal! gg/some\<CR>"
  exe "normal! 2cc#test\<Esc>"
  call assert_equal("		#test", getline(1))
  enew! | close
endfunction