diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-06-19 13:27:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-06-19 13:27:23 +0200 |
commit | 541f92d6cfdf2215e743553b5f4b6529dd9fcf31 (patch) | |
tree | ebd90d293d96f799bc34fd8e1bce937ca0603594 /runtime/indent/rnoweb.vim | |
parent | c7a0d32c834ff321491d8fd7bc68bf6cabd11e44 (diff) | |
download | vim-git-541f92d6cfdf2215e743553b5f4b6529dd9fcf31.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/indent/rnoweb.vim')
-rw-r--r-- | runtime/indent/rnoweb.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/indent/rnoweb.vim b/runtime/indent/rnoweb.vim index e69542bd1..d0cad3d8d 100644 --- a/runtime/indent/rnoweb.vim +++ b/runtime/indent/rnoweb.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Rnoweb " Author: Jakson Alves de Aquino <jalvesaq@gmail.com> -" Last Change: Wed Jul 09, 2014 07:28PM +" Last Change: Sun Mar 22, 2015 09:28AM " Only load this indent file when no other was loaded. @@ -23,7 +23,8 @@ if exists("*GetRnowebIndent") endif function GetRnowebIndent() - if getline(".") =~ "^<<.*>>=$" + let curline = getline(".") + if curline =~ '^<<.*>>=$' || curline =~ '^\s*@$' return 0 endif if search("^<<", "bncW") > search("^@", "bncW") |