]> git.phdru.name Git - dotfiles.git/blobdiff - .vimrc
Fix misspelling: position_resored => position_restored
[dotfiles.git] / .vimrc
diff --git a/.vimrc b/.vimrc
index 0f51857368e923e6984d869de6108727af0efcc3..c365a9559360c1e4239eb748e89a498e1e02448a 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -274,14 +274,14 @@ autocmd BufReadPost * syntax on
 
 " Restore last known cursor position
 function! RestorePosition()
-   if exists('b:position_resored')
+   if exists('b:position_restored')
       return
    endif
 
    if line("'\"") > 0
       call cursor(line("'\""), col("'\""))
    endif
-   let b:position_resored = 1
+   let b:position_restored = 1
 endfunction
 
 " When editing a file, always jump to the last cursor position (if saved)