aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:37 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:37 +0100
commitb4c611404729540ac87c140cebdd97cf2f87bb5b (patch)
tree5c4db17254be5c75d3b52e50cc9a3e2609b91356
parentf191bb78e945690363217e4166d2270494d11b2d (diff)
downloaddotfiles-b4c611404729540ac87c140cebdd97cf2f87bb5b.tar.gz
dotfiles-b4c611404729540ac87c140cebdd97cf2f87bb5b.tar.bz2
dotfiles-b4c611404729540ac87c140cebdd97cf2f87bb5b.zip
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.
-rw-r--r--.chezmoiignore2
-rw-r--r--nvim.yml5
-rw-r--r--selene-globals.yml9
-rw-r--r--selene.toml6
4 files changed, 15 insertions, 7 deletions
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"