mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
64 lines
1.7 KiB
Lua
64 lines
1.7 KiB
Lua
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
lazy = false,
|
|
},
|
|
{ import = "plugins.mod.render-markdown" },
|
|
-- { import = "plugins.mod.markview" },
|
|
{
|
|
"lervag/vimtex",
|
|
lazy = false, -- we don't want to lazy load VimTeX
|
|
-- tag = "v2.15", -- uncomment to pin to a specific release
|
|
init = function()
|
|
-- VimTeX configuration goes here, e.g.
|
|
vim.g.vimtex_view_method = "sioyek"
|
|
end,
|
|
},
|
|
{
|
|
"iurimateus/luasnip-latex-snippets.nvim",
|
|
-- vimtex isn't required if using treesitter
|
|
requires = { "L3MON4D3/LuaSnip", "lervag/vimtex" },
|
|
config = function()
|
|
require("luasnip-latex-snippets").setup()
|
|
-- or setup({ use_treesitter = true })
|
|
require("luasnip").config.setup({ enable_autosnippets = true })
|
|
end,
|
|
},
|
|
{ "williamboman/mason.nvim", config = true },
|
|
{
|
|
"williamboman/mason-lspconfig.nvim",
|
|
lazy = false,
|
|
dependencies = {
|
|
{ "williamboman/mason.nvim" },
|
|
{ "neovim/nvim-lspconfig" },
|
|
},
|
|
config = function()
|
|
local mason_lspconfig = require("mason-lspconfig")
|
|
local servers = require("config.servers").servers
|
|
|
|
mason_lspconfig.setup({
|
|
ensure_installed = servers,
|
|
})
|
|
end,
|
|
},
|
|
{ import = "plugins.mod.conform-nvim" },
|
|
{ "nvim-treesitter/nvim-treesitter-context" },
|
|
{
|
|
"NoahTheDuke/vim-just",
|
|
ft = { "just" },
|
|
},
|
|
{ import = "plugins.mod.trouble-nvim" },
|
|
|
|
{ import = "plugins.mod.nvim-treesitter" },
|
|
{
|
|
"folke/lazydev.nvim",
|
|
ft = "lua", -- only load on lua files
|
|
opts = {
|
|
library = {
|
|
-- See the configuration section for more details
|
|
-- Load luvit types when the `vim.uv` word is found
|
|
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
|
},
|
|
},
|
|
},
|
|
}
|