summaryrefslogtreecommitdiffstats
path: root/runtime/indent/postscr.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-08 17:45:08 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-08 17:45:08 +0100
commitcbaff5e06ec525d31dc44093125c42029e01d508 (patch)
treecf90237ea61147e5cf690a9db7f36741fd3aa0a5 /runtime/indent/postscr.vim
parenta8034a4886843fbf10bd59a6f55ec723da515b8e (diff)
Update runtime files
Diffstat (limited to 'runtime/indent/postscr.vim')
-rw-r--r--runtime/indent/postscr.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/indent/postscr.vim b/runtime/indent/postscr.vim
index 0691cd237c..66094e3ed0 100644
--- a/runtime/indent/postscr.vim
+++ b/runtime/indent/postscr.vim
@@ -2,8 +2,8 @@
" Language: PostScript
" Maintainer: Mike Williams <mrw@netcomuk.co.uk> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2nd July 2001
-"
+" Last Change: 2022 Apr 06
+
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
@@ -14,6 +14,8 @@ let b:did_indent = 1
setlocal indentexpr=PostscrIndentGet(v:lnum)
setlocal indentkeys+=0],0=>>,0=%%,0=end,0=restore,0=grestore indentkeys-=:,0#,e
+let b:undo_indent = "setl inde< indk<"
+
" Catch multiple instantiations
if exists("*PostscrIndentGet")
finish