Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug fix: Remove accidental & buggy redefinition of xolox#misc#option#…

…get()
  • Loading branch information...
commit 05d45eaa24e9b3c654de6f133d188a9233ef2579 1 parent b01ff5e
Peter Odding authored August 27, 2011

Showing 1 changed file with 1 addition and 11 deletions. Show diff stats Hide diff stats

  1. 12  autoload/xolox/lua.vim
12  autoload/xolox/lua.vim
@@ -3,21 +3,11 @@
3 3
 " Last Change: August 27, 2011
4 4
 " URL: http://peterodding.com/code/vim/lua-ftplugin
5 5
 
6  
-let g:xolox#lua#version = '0.6.20'
  6
+let g:xolox#lua#version = '0.6.21'
7 7
 let s:miscdir = expand('<sfile>:p:h:h:h') . '/misc/lua-ftplugin'
8 8
 let s:omnicomplete_script = s:miscdir . '/omnicomplete.lua'
9 9
 let s:globals_script = s:miscdir . '/globals.lua'
10 10
 
11  
-function! xolox#misc#option#get(name, default) " {{{1
12  
-  if exists('g:' . a:name)
13  
-    return eval('g:' . a:name)
14  
-  elseif exists('b:' . a:name)
15  
-    return eval('b:' . a:name)
16  
-  else
17  
-    return a:default
18  
-  endif
19  
-endfunction
20  
-
21 11
 function! xolox#lua#includeexpr(fname) " {{{1
22 12
   " Search module path for matching Lua scripts.
23 13
   let module = substitute(a:fname, '\.', '/', 'g')

0 notes on commit 05d45ea

Please sign in to comment.
Something went wrong with that request. Please try again.