mirror of https://github.com/tiyn/dotfiles
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.
38 lines
915 B
38 lines
915 B
return {
|
|
-- lang server installations
|
|
{
|
|
'williamboman/mason.nvim',
|
|
dependencies = {
|
|
{
|
|
'nvimtools/none-ls.nvim',
|
|
config = function()
|
|
require("null-ls").setup({
|
|
sources = {
|
|
-- python
|
|
require("null-ls").builtins.formatting.isort,
|
|
require("null-ls").builtins.formatting.black,
|
|
-- markdown
|
|
require("null-ls").builtins.formatting.mdformat,
|
|
-- latex
|
|
require("null-ls").builtins.formatting.latexindent,
|
|
}
|
|
})
|
|
end
|
|
},
|
|
{
|
|
'jay-babu/mason-null-ls.nvim',
|
|
opts = {
|
|
automatic_installation = true,
|
|
ensure_installed = {
|
|
"black",
|
|
"isort",
|
|
"latexindent",
|
|
"mdformat",
|
|
}
|
|
}
|
|
}
|
|
},
|
|
opts = { ui = { icons = Install_signs } }
|
|
}
|
|
}
|