mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-11-29 17:19:44 +01:00
nvim: split plugins into multiple files
This commit is contained in:
32
.config/nvim/lua/plugins/mason.lua
Normal file
32
.config/nvim/lua/plugins/mason.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
return {
|
||||
-- lang server installations
|
||||
{
|
||||
'williamboman/mason.nvim',
|
||||
dependencies = {
|
||||
{
|
||||
'jose-elias-alvarez/null-ls.nvim',
|
||||
config = function()
|
||||
require("null-ls").setup({
|
||||
sources = {
|
||||
require("null-ls").builtins.formatting.black,
|
||||
require("null-ls").builtins.formatting.mdformat
|
||||
}
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
'jay-babu/mason-null-ls.nvim',
|
||||
opts = {
|
||||
automatic_installation = true,
|
||||
ensure_installed = { "black", "mdformat" }
|
||||
}
|
||||
},
|
||||
|
||||
},
|
||||
opts = {
|
||||
ui = {
|
||||
icons = Install_signs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user