We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feb3161 commit 533a98fCopy full SHA for 533a98f
ftplugin/railslog.vim
@@ -30,10 +30,10 @@ if exists('+concealcursor')
30
setlocal concealcursor=nc conceallevel=2
31
let b:undo_ftplugin .= ' concealcursor< conceallevel<'
32
else
33
- let pos = getpos('.')
+ let s:pos = getpos('.')
34
setlocal modifiable
35
silent exe '%s/\m\C\%(\e\[[0-9;]*m\|\r$\)//e' . (&gdefault ? '' : 'g')
36
- call setpos('.', pos)
+ call setpos('.', s:pos)
37
endif
38
setlocal readonly nomodifiable
39
let b:undo_ftplugin .= ' noreadonly modifiable'
0 commit comments