90 lines
2.0 KiB
Lua
90 lines
2.0 KiB
Lua
local plugins = {
|
|
{
|
|
'KDE/okular'
|
|
},
|
|
{
|
|
'lervag/vimtex',
|
|
opt = true,
|
|
config = function ()
|
|
vim.g.vimtex_view_general_viewer = 'okular'
|
|
--vim.g.vimtex_compiler_latexmk_engines = {
|
|
-- _ = 'latexmk'
|
|
--}
|
|
vim.g.tex_comment_nospell = 1
|
|
--vim.g.vimtex_compiler_progname = 'nvr'
|
|
vim.g.vimtex_view_general_options = [[--unique file:@pdf\#src:@line@tex]]
|
|
--vim.g.vimtex_compiler_method = 'latexmk'
|
|
--vim.g.vimtex_view_general_options_latexmk = '--unique'
|
|
end,
|
|
ft = 'tex'
|
|
},
|
|
{
|
|
"simrat39/rust-tools.nvim",
|
|
},
|
|
{
|
|
"rcarriga/nvim-dap-ui",
|
|
event = "VeryLazy",
|
|
dependencies = "mfussenegger/nvim-dap",
|
|
config = function()
|
|
local dap = require("dap")
|
|
local dapui = require("dapui")
|
|
dapui.setup()
|
|
dap.listeners.after.event_initialized["dapui_config"] = function()
|
|
dapui.open()
|
|
end
|
|
dap.listeners.before.event_terminated["dapui_config"] = function()
|
|
dapui.close()
|
|
end
|
|
dap.listeners.before.event_exited["dapui_config"] = function()
|
|
dapui.close()
|
|
end
|
|
end
|
|
},
|
|
{
|
|
"jay-babu/mason-nvim-dap.nvim",
|
|
event = "VeryLazy",
|
|
dependencies = {
|
|
"williamboman/mason.nvim",
|
|
"mfussenegger/nvim-dap",
|
|
},
|
|
opts = {
|
|
handlers = {}
|
|
},
|
|
},
|
|
{
|
|
"mfussenegger/nvim-dap",
|
|
config = function(_, _)
|
|
require("core.utils").load_mappings("dap")
|
|
end
|
|
},
|
|
{
|
|
"jose-elias-alvarez/null-ls.nvim",
|
|
event = "VeryLazy",
|
|
opts = function()
|
|
return require "custom.configs.null-ls"
|
|
end,
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
config = function()
|
|
require "plugins.configs.lspconfig"
|
|
require "custom.configs.lspconfig"
|
|
end,
|
|
},
|
|
{
|
|
"williamboman/mason.nvim",
|
|
opts = {
|
|
ensure_installed = {
|
|
"clangd",
|
|
"clang-format",
|
|
"codelldb",
|
|
"rust-analyzer",
|
|
"pyright",
|
|
"texlab",
|
|
"ltex-ls",
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return plugins
|