diff --git a/.luacheckrc b/.luacheckrc index 14072db..46e8a2b 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,10 +1,10 @@ stds.nvim = { - read_globals = { + globals = { "vim", }, } std = "lua51+nvim" include_files = { - "lua/**/*.lua", + "lua/**/*.lua", } diff --git a/lua/netrw/config.lua b/lua/netrw/config.lua index 9a40a77..632e0f1 100644 --- a/lua/netrw/config.lua +++ b/lua/netrw/config.lua @@ -30,6 +30,9 @@ function M.setup(options) return end + -- Forces the usage of signcolumn in netrw buffers. + vim.opt_local.signcolumn = "yes" + local bufnr = vim.api.nvim_get_current_buf() require("netrw.ui").embelish(bufnr) require("netrw.actions").bind(bufnr)