diff --git a/lua/plex/plugins/extras/lang/tex.lua b/lua/plex/plugins/extras/lang/tex.lua new file mode 100644 index 0000000..e9b017b --- /dev/null +++ b/lua/plex/plugins/extras/lang/tex.lua @@ -0,0 +1,28 @@ +return { + + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + if type(opts.ensure_installed) == "table" then + vim.list_extend(opts.ensure_installed, { "rust" }) + end + end, + }, + + { + "neovim/nvim-lspconfig", + -- dependencies = { 'b0o/SchemaStore.nvim', version = false }, + opts = { + servers = { + texlab = { + rootDirectory = ".", + auxDirectory = ".", + latexFormatter = "latexindent", + latexindent = { + modifyLineBreaks = true, + }, + }, + }, + }, + }, +}