Added ltex-extra
This commit is contained in:
parent
26a222c63d
commit
1f46ee863c
2 changed files with 52 additions and 2 deletions
|
|
@ -2,4 +2,53 @@
|
|||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {}
|
||||
return {
|
||||
{
|
||||
'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 = 'skim'
|
||||
vim.g.vimtex_view_skim_sync = 1
|
||||
vim.g.vimtex_view_skim_activate = 1
|
||||
vim.g.vimtex_compiler_latexmk = {
|
||||
aux_dir = 'aux',
|
||||
out_dir = '',
|
||||
callback = 1,
|
||||
continuous = 1,
|
||||
executable = 'latexmk',
|
||||
hooks = {},
|
||||
options = {
|
||||
'-verbose',
|
||||
'-file-line-error',
|
||||
'-synctex=1',
|
||||
'-interaction=nonstopmode',
|
||||
'-shell-escape',
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
'barreiroleo/ltex_extra.nvim',
|
||||
ft = { 'markdown', 'tex' },
|
||||
dependencies = { 'neovim/nvim-lspconfig' },
|
||||
-- yes, you can use the opts field, just I'm showing the setup explicitly
|
||||
config = function()
|
||||
require('ltex_extra').setup {
|
||||
-- your_ltex_extra_opts,
|
||||
server_opts = {
|
||||
-- capabilities = your_capabilities,
|
||||
on_attach = function(client, bufnr)
|
||||
-- your on_attach process
|
||||
end,
|
||||
-- settings = {
|
||||
-- ltex = {
|
||||
-- your settings
|
||||
-- }
|
||||
-- }
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue