Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…get()
commit 05d45eaa24e9b3c654de6f133d188a9233ef2579 1 parent b01ff5e
@xolox authored
Showing with 1 addition and 11 deletions.
  1. +1 −11 autoload/xolox/lua.vim
View
12 autoload/xolox/lua.vim
@@ -3,21 +3,11 @@
" Last Change: August 27, 2011
" URL: http://peterodding.com/code/vim/lua-ftplugin
-let g:xolox#lua#version = '0.6.20'
+let g:xolox#lua#version = '0.6.21'
let s:miscdir = expand('<sfile>:p:h:h:h') . '/misc/lua-ftplugin'
let s:omnicomplete_script = s:miscdir . '/omnicomplete.lua'
let s:globals_script = s:miscdir . '/globals.lua'
-function! xolox#misc#option#get(name, default) " {{{1
- if exists('g:' . a:name)
- return eval('g:' . a:name)
- elseif exists('b:' . a:name)
- return eval('b:' . a:name)
- else
- return a:default
- endif
-endfunction
-
function! xolox#lua#includeexpr(fname) " {{{1
" Search module path for matching Lua scripts.
let module = substitute(a:fname, '\.', '/', 'g')
Please sign in to comment.
Something went wrong with that request. Please try again.