aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--luarocks/.config/luarocks/config-5.4.lua14
-rw-r--r--nvim/.config/nvim/lazy-lock.json4
-rw-r--r--nvim/.config/nvim/lua/plugins/lazydev.lua50
3 files changed, 47 insertions, 21 deletions
diff --git a/luarocks/.config/luarocks/config-5.4.lua b/luarocks/.config/luarocks/config-5.4.lua
new file mode 100644
index 0000000..6e4928c
--- /dev/null
+++ b/luarocks/.config/luarocks/config-5.4.lua
@@ -0,0 +1,14 @@
+---@diagnostic disable: lowercase-global, undefined-global
+--# selene: allow(unused_variable, unscoped_variables, undefined_variable)
+local_by_default = true
+home_tree = home .. "/.local"
+rocks_trees = {
+ {
+ name = "user",
+ root = home_tree,
+ },
+ {
+ name = "system",
+ root = "/usr",
+ },
+}
diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json
index 5bd4d52..d10542a 100644
--- a/nvim/.config/nvim/lazy-lock.json
+++ b/nvim/.config/nvim/lazy-lock.json
@@ -37,6 +37,10 @@
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "8ad632f793fd437865f99af5684f78300dac93fb" },
"telescope-undo.nvim": { "branch": "main", "commit": "51be9ae7c42fc27c0b05505e3a0162e0f05fbb6a" },
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
+ "tex-lualatex": { "branch": "main", "commit": "bc368fdc1dd66b4007a3c9c078d62a064cfeb1d3" },
+ "tex-lualibs": { "branch": "main", "commit": "0f93f412f3caf54001e0ff3fa90ce39cbfbb7a2d" },
+ "tex-luametatex": { "branch": "main", "commit": "269b8b4bf97ad46ec5c4778c83d64c1df9c5eca5" },
+ "tex-luatex": { "branch": "main", "commit": "4c2c8fd3bbc31cf8c0af2b6389ca598d2a935f52" },
"tokyonight.nvim": { "branch": "main", "commit": "2cd12582c98a3552032824ffa67fd44b4d81184a" },
"typst-preview.nvim": { "branch": "master", "commit": "15eaaffc0a2d8cd871f485f399d1d67ed3322a0b" },
"vim-hjson": { "branch": "master", "commit": "adc104d4a4041a482e1af1914895a119e343c7e1" },
diff --git a/nvim/.config/nvim/lua/plugins/lazydev.lua b/nvim/.config/nvim/lua/plugins/lazydev.lua
index 9832c62..ca699da 100644
--- a/nvim/.config/nvim/lua/plugins/lazydev.lua
+++ b/nvim/.config/nvim/lua/plugins/lazydev.lua
@@ -1,27 +1,35 @@
---@type LazySpec
local M = {
- "folke/lazydev.nvim",
- ft = "lua",
- cmd = "LazyDev",
- dependencies = {
- "Bilal2453/luvit-meta",
- },
- opts = {
- library = {
- { path = "luvit-meta/library", words = { "vim%.uv" } },
- "lazy.nvim",
+ "Bilal2453/luvit-meta",
+ "LuaCATS/tex-luatex",
+ "LuaCATS/tex-lualatex",
+ "LuaCATS/tex-luametatex",
+ "LuaCATS/tex-lualibs",
+ {
+ "folke/lazydev.nvim",
+ ft = "lua",
+ cmd = "LazyDev",
+ opts = {
+ library = {
+ "lazy.nvim",
+ { path = "luvit-meta/library", words = { "vim%.uv" } },
+ { path = "tex-luatex", words = { "tex" } },
+ { path = "tex-lualatex", words = { "tex" } },
+ { path = "tex-luametatex", words = { "tex" } },
+ { path = "tex-lualibs", words = { "tex" } },
+ },
},
- },
- specs = {
- {
- "hrsh7th/nvim-cmp",
- opts = function(_, opts)
- opts.sources = opts.sources or {}
- table.insert(opts.sources, {
- name = "lazydev",
- group_index = 0,
- })
- end,
+ specs = {
+ {
+ "hrsh7th/nvim-cmp",
+ opts = function(_, opts)
+ opts.sources = opts.sources or {}
+ table.insert(opts.sources, {
+ name = "lazydev",
+ group_index = 0,
+ })
+ end,
+ },
},
},
}