Nvim: Update all plugins
This commit is contained in:
@@ -33,17 +33,58 @@ return { {
|
||||
end,
|
||||
ft = { "markdown", "md" },
|
||||
},
|
||||
-- {
|
||||
-- "brianhuster/live-preview.nvim",
|
||||
-- opts = {
|
||||
-- cmd = "LivePreview", -- Main command of live-preview.nvim
|
||||
-- port = 5500, -- Port to run the live preview server on.
|
||||
-- autokill = false, -- If true, the plugin will autokill other processes running on the same port (except for Neovim) when starting the server.
|
||||
-- browser = 'default', -- Terminal command to open the browser for live-previewing (eg. 'firefox', 'flatpak run com.vivaldi.Vivaldi'). By default, it will use the default browser.
|
||||
-- dynamic_root = false, -- If true, the plugin will set the root directory to the previewed file's directory. If false, the root directory will be the current working directory (`:lua print(vim.uv.cwd())`).
|
||||
-- sync_scroll = false, -- If true, the plugin will sync the scrolling in the browser as you scroll in the Markdown files in Neovim.
|
||||
-- picker = nil, -- Picker to use for opening files. 3 choices are available: 'telescope', 'fzf-lua', 'mini.pick'. If nil, the plugin look for the first available picker when you call the `pick` command.
|
||||
-- },
|
||||
-- enabled = false,
|
||||
-- },
|
||||
{
|
||||
"brianhuster/live-preview.nvim",
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
||||
---@module 'render-markdown'
|
||||
---@type render.md.UserConfig
|
||||
opts = {
|
||||
cmd = "LivePreview", -- Main command of live-preview.nvim
|
||||
port = 5500, -- Port to run the live preview server on.
|
||||
autokill = false, -- If true, the plugin will autokill other processes running on the same port (except for Neovim) when starting the server.
|
||||
browser = 'default', -- Terminal command to open the browser for live-previewing (eg. 'firefox', 'flatpak run com.vivaldi.Vivaldi'). By default, it will use the default browser.
|
||||
dynamic_root = false, -- If true, the plugin will set the root directory to the previewed file's directory. If false, the root directory will be the current working directory (`:lua print(vim.uv.cwd())`).
|
||||
sync_scroll = false, -- If true, the plugin will sync the scrolling in the browser as you scroll in the Markdown files in Neovim.
|
||||
picker = nil, -- Picker to use for opening files. 3 choices are available: 'telescope', 'fzf-lua', 'mini.pick'. If nil, the plugin look for the first available picker when you call the `pick` command.
|
||||
completions = { blink = { enabled = true } },
|
||||
render_modes = { 'n', 'c', 't' },
|
||||
},
|
||||
enabled = false,
|
||||
}
|
||||
},
|
||||
{
|
||||
'Thiago4532/mdmath.nvim',
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
opts = {
|
||||
-- Filetypes that the plugin will be enabled by default.
|
||||
filetypes = {'markdown'},
|
||||
-- Color of the equation, can be a highlight group or a hex color.
|
||||
-- Examples: 'Normal', '#ff0000'
|
||||
foreground = 'Normal',
|
||||
-- Hide the text when the equation is under the cursor.
|
||||
anticonceal = true,
|
||||
-- Hide the text when in the Insert Mode.
|
||||
hide_on_insert = true,
|
||||
-- Enable dynamic size for non-inline equations.
|
||||
dynamic = true,
|
||||
-- Configure the scale of dynamic-rendered equations.
|
||||
dynamic_scale = 1.0,
|
||||
-- Interval between updates (milliseconds).
|
||||
update_interval = 400,
|
||||
|
||||
-- Internal scale of the equation images, increase to prevent blurry images when increasing terminal
|
||||
-- font, high values may produce aliased images.
|
||||
-- WARNING: This do not affect how the images are displayed, only how many pixels are used to render them.
|
||||
-- See `dynamic_scale` to modify the displayed size.
|
||||
internal_scale = 1.0,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user