Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Mendyaev authored and artur-barsegyan committed Dec 13, 2019
1 parent 95779cc commit 3964b96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tarantool-lsp/analyze.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-- Analysis engine
local parser = require 'tarantool-lsp.lua-parser.parser'
local log = require 'tarantool-lsp.log'
local tlog = require 'log'
local rpc = require 'tarantool-lsp.rpc'
local json = require 'json'
local ok, luacheck = pcall(require, 'luacheck')
Expand Down
2 changes: 1 addition & 1 deletion tarantool-lsp/methods.lua
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ function definition_of(config, doc, id_or_pos)
if (id.tag == "String" or id.tag == "Id") then
cursor = id.pos+1
word = id[1]
assert(type(word) == "string", require'tarantool.inspect'(id, {depth = 3}))
assert(type(word) == "string", require'tarantool-lsp.inspect'(id, {depth = 3}))
elseif id.tag == "Index" then
cursor = id.pos+1
word = nodes_to_string(id)
Expand Down

0 comments on commit 3964b96

Please sign in to comment.