Something went wrong. Try again.
Library of 45+ independent Lua modules improving Neovim experience with minimal effort nvim-mini.org/mini.nvim
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869--stylua: ignore start--- Tests for inferring from afterline
local M = {}
-- Functions
--- This function definition should be inferredM.a = function(x, y) print('M.a')end
--- This function definition should not be inferred (not from first column) M.a_no = function() end
--- This function definition should be inferredlocal function b(x, y) print('b')end
--- This function definition should not be inferred (not from first column) local function b_no() end
--- This function definition should be inferredM.c = function(x, y) print('M.c')end
--- This function definition should be inferredM.c_1=function() end
--- This function definition should not be inferred (not from first column) M.c_no = function() end
--- This function definition should be inferredlocal d = function(x, y) print('d')end
--- This function definition should be inferredlocal d_1=function() end
--- This function definition should not be inferred (not from first column) local d_no = function() end
-- Assignments
--- This assignment should be inferredM.A = 1
--- This assignment should be inferredM.A_1=1
--- This assignment should not be inferred (not from first column) M.A_no = 1
--- This assignment should be inferredlocal B = 1
--- This assignment should be inferredlocal B_1=1
--- This assignment should not be inferred (not from first column) local B_no = 1
return M--stylua: ignore end