2023-01-10 02:38:06 +01:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.setup()
|
2023-12-25 14:14:33 +01:00
|
|
|
vim.opt.runtimepath:append(vim.g.nix_extra_runtime)
|
|
|
|
local tempest = require("my.tempest")
|
|
|
|
local nix = require("nix")
|
2023-01-10 02:38:06 +01:00
|
|
|
-- Import my other files
|
2023-12-25 14:14:33 +01:00
|
|
|
tempest.configureMany(nix.pre)
|
2023-09-08 19:49:18 +02:00
|
|
|
require("my.keymaps").setup()
|
|
|
|
require("my.lazy").setup()
|
2023-12-25 14:14:33 +01:00
|
|
|
tempest.configureMany(nix.post)
|
2024-03-14 07:48:19 +01:00
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd("FileType", {
|
|
|
|
pattern = "tex",
|
|
|
|
group = vim.api.nvim_create_augroup("luasnip-latex-snippets", {}),
|
|
|
|
once = true,
|
|
|
|
callback = function()
|
|
|
|
require("my.snippets.tex").setup()
|
|
|
|
end,
|
|
|
|
})
|
2023-01-10 02:38:06 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|