diff options
author | grvxs <[email protected]> | 2021-08-06 16:50:25 +0530 |
---|---|---|
committer | grvxs <[email protected]> | 2021-08-06 16:50:25 +0530 |
commit | 9fc6a2e1cdac513c8ff09069263ff102852be86a (patch) | |
tree | e96d2a7d9b1ce4c586d28d3d08ab4d583fb09b53 /lua | |
parent | f3c44ce3a91b0abc448071d152e0781c4c1465e7 (diff) |
fix: typos in lua/
Diffstat (limited to 'lua')
-rw-r--r-- | lua/core/dashboard.lua | 2 | ||||
-rw-r--r-- | lua/lsp/peek.lua | 2 | ||||
-rw-r--r-- | lua/utils/init.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lua/core/dashboard.lua b/lua/core/dashboard.lua index 87741523..27d4efd1 100644 --- a/lua/core/dashboard.lua +++ b/lua/core/dashboard.lua @@ -84,7 +84,7 @@ M.setup = function() require("core.autocmds").define_augroups { _dashboard = { - -- seems to be nobuflisted that makes my stuff disapear will do more testing + -- seems to be nobuflisted that makes my stuff disappear will do more testing { "FileType", "dashboard", diff --git a/lua/lsp/peek.lua b/lua/lsp/peek.lua index e512eee0..cc8e57a9 100644 --- a/lua/lsp/peek.lua +++ b/lua/lsp/peek.lua @@ -100,7 +100,7 @@ function M.set_cursor_to_prev_pos(winnr) local range = location.targetRange or location.range local cursor_pos = { range.start.line + 1, range.start.character } - -- Set the winnr to the floting window if none was passed in + -- Set the winnr to the floating window if none was passed in winnr = winnr or M.floating_win -- Set the cursor at the correct position in the floating window vim.api.nvim_win_set_cursor(winnr, cursor_pos) diff --git a/lua/utils/init.lua b/lua/utils/init.lua index 8cfd2790..8cc1b32d 100644 --- a/lua/utils/init.lua +++ b/lua/utils/init.lua @@ -16,7 +16,7 @@ local function r_inspect_settings(structure, limit, separator) if ts == "table" then for k, v in pairs(structure) do - -- replace non alpha keys wih ["key"] + -- replace non alpha keys with ["key"] if tostring(k):match "[^%a_]" then k = '["' .. tostring(k) .. '"]' end |