~xenrox/srht-patches.nvim

1d1697562f2271427908e697dc373177faa2a560 — Thorben Günther 2 years ago 705617b
Add configuration for selene lint
3 files changed, 8 insertions(+), 0 deletions(-)

M lua/srht-patches/init.lua
A selene.toml
A vim.toml
M lua/srht-patches/init.lua => lua/srht-patches/init.lua +1 -0
@@ 79,6 79,7 @@ function Patch.setup(opts)
  require("srht-patches.config").setup(opts)
end

-- selene: allow(global_usage)
function _G.complete_srht_patches_status(lead, _, _)
  local comp_list = vim.tbl_filter(function(name)
    return vim.startswith(name, lead)

A selene.toml => selene.toml +1 -0
@@ 0,0 1,1 @@
std="vim"

A vim.toml => vim.toml +6 -0
@@ 0,0 1,6 @@
[selene]
base = "lua51"
name = "vim"

[vim]
any = true