From b4c611404729540ac87c140cebdd97cf2f87bb5b Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:24:37 +0100 Subject: chore(selene): rename globals file, add mp, allow mixed_table Rename nvim.yml to selene-globals.yml (more accurate scope). Add the mpv scripting 'mp' global alongside neovim's 'vim'. Allow mixed_table since it's idiomatic in lazy.nvim/which-key specs. --- .chezmoiignore | 2 +- nvim.yml | 5 ----- selene-globals.yml | 9 +++++++++ selene.toml | 6 +++++- 4 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 nvim.yml create mode 100644 selene-globals.yml diff --git a/.chezmoiignore b/.chezmoiignore index 7a49601..f3b6d57 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -12,5 +12,5 @@ justfile .githooks/ .stylua.toml selene.toml -nvim.yml +selene-globals.yml .prettierrc.json diff --git a/nvim.yml b/nvim.yml deleted file mode 100644 index 53daa57..0000000 --- a/nvim.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -base: lua51 -globals: - vim: - any: true diff --git a/selene-globals.yml b/selene-globals.yml new file mode 100644 index 0000000..808cda4 --- /dev/null +++ b/selene-globals.yml @@ -0,0 +1,9 @@ +--- +base: lua51 +globals: + # neovim + vim: + any: true + # mpv scripts + mp: + any: true diff --git a/selene.toml b/selene.toml index 3df5aa0..e34dfbe 100644 --- a/selene.toml +++ b/selene.toml @@ -1 +1,5 @@ -std = "lua51+nvim" +std = "lua51+selene-globals" + +[lints] +# Mixed tables are idiomatic in neovim plugin specs (lazy.nvim, which-key, etc.) +mixed_table = "allow" -- cgit v1.2.3-70-g09d2