Skip to content
Browse files

rename fun variable to isFunction

  • Loading branch information...
1 parent 350fe4f commit 27cf1abcc098f73b5a16814e3f7669b6fd662066 @goonzoid committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 ftplugin/reprocessed.vim
View
10 ftplugin/reprocessed.vim
@@ -62,20 +62,20 @@ line = vim.current.line
col = wordStart(line, col)
if re.match(r"\w+\s*\(", line[col:]):
if col < 4:
- fun = True
+ isFunction = True
else:
col -= 4
if re.match(r"new\s*\w+\s*\(", line[col:]):
- fun = False
+ isFunction = False
else:
- fun = True
+ isFunction = True
else:
- fun = False
+ isFunction = False
word = vim.eval('expand("<cword>")')
if word:
- if fun:
+ if isFunction:
success = launchDoc(word + "_.html") or launchDoc(word + ".html")
else:
success = launchDoc(word + ".html") or launchDoc(word + "_.html")

0 comments on commit 27cf1ab

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