1
Fork 0
satellite/home/features/neovim/config/lua/my/init.lua

24 lines
560 B
Lua
Raw Normal View History

2023-01-10 02:38:06 +01:00
local M = {}
function M.setup()
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
tempest.configureMany(nix.pre)
require("my.keymaps").setup()
require("my.lazy").setup()
tempest.configureMany(nix.post)
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