You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.4 KiB
94 lines
2.4 KiB
local mason_root = "D:\\DevKits\\SDKs\\LSP\\MasonManaged"
|
|
|
|
return { {
|
|
'mason-org/mason.nvim',
|
|
version = '2.*',
|
|
cond = jit.os == "Windows",
|
|
cmd = { 'Mason', 'MasonUpdate', 'MasonInstall', 'MasonUninstall', 'MasonUninstallAll', 'MasonLog' },
|
|
opts = {
|
|
install_root_dir = mason_root,
|
|
log_level = vim.log.levels.WARN,
|
|
},
|
|
}, {
|
|
'neovim/nvim-lspconfig',
|
|
version = '2.*',
|
|
event = { 'BufReadPost', 'BufNewFile' },
|
|
config = require('plugins.conf.lsp').config,
|
|
}, {
|
|
-- 'hrsh7th/nvim-cmp',
|
|
-- event = { 'InsertEnter', 'CmdlineEnter' },
|
|
-- dependencies = {
|
|
-- 'hrsh7th/cmp-nvim-lsp',
|
|
-- 'hrsh7th/cmp-buffer',
|
|
-- 'hrsh7th/cmp-path',
|
|
-- 'hrsh7th/cmp-cmdline',
|
|
-- 'windwp/nvim-autopairs',
|
|
-- 'lukas-reineke/cmp-under-comparator',
|
|
-- },
|
|
-- config = require('plugins.conf.cmp').config,
|
|
-- }, {
|
|
'saghen/blink.cmp',
|
|
version = '1.*',
|
|
event = {
|
|
'InsertEnter',
|
|
-- 'CmdlineEnter',
|
|
},
|
|
dependencies = {
|
|
'rafamadriz/friendly-snippets',
|
|
},
|
|
opts = require('plugins.conf.cmp').opts,
|
|
opts_extend = { 'sources.default' },
|
|
}, {
|
|
'windwp/nvim-autopairs',
|
|
version = '*',
|
|
event = 'InsertEnter',
|
|
opts = {
|
|
map_cr = true,
|
|
},
|
|
}, {
|
|
'MeanderingProgrammer/render-markdown.nvim',
|
|
version = '8.*',
|
|
dependencies = {
|
|
'nvim-treesitter/nvim-treesitter',
|
|
'nvim-mini/mini.icons',
|
|
},
|
|
keys = { {
|
|
'<Leader>md',
|
|
'<Cmd>RenderMarkdown preview<Cr>',
|
|
mode = 'n',
|
|
ft = { 'markdown', 'quarto' },
|
|
} },
|
|
ft = { 'markdown', 'quarto' },
|
|
opts = {
|
|
completions = { lsp = { enabled = true } },
|
|
},
|
|
}, {
|
|
"rachartier/tiny-inline-diagnostic.nvim",
|
|
event = "LspAttach",
|
|
init = function()
|
|
vim.diagnostic.config({ virtual_text = false })
|
|
end,
|
|
opts = {
|
|
options = {
|
|
multilines = { enabled = true },
|
|
},
|
|
},
|
|
}, {
|
|
'stevearc/aerial.nvim',
|
|
version = '3.*',
|
|
dependencies = {
|
|
'nvim-mini/mini.icons',
|
|
},
|
|
keys = {
|
|
{ '<Leader>cs', '<Cmd>AerialToggle<cr>' },
|
|
},
|
|
opts = {
|
|
backends = { 'lsp', 'markdown', 'asciidoc' },
|
|
layout = {
|
|
default_direction = 'right',
|
|
},
|
|
ignore = {
|
|
filetypes = { 'dashboard' },
|
|
},
|
|
},
|
|
} }
|
|
|