aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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"