mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-28 10:24:47 +01:00
NVIM: Improved structure and improved lazy loading
This commit is contained in:
23
.config/nvim/lua/plugins/mason-null-ls.lua
Normal file
23
.config/nvim/lua/plugins/mason-null-ls.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
return {
|
||||
-- bridge mason and null-ls
|
||||
"jay-babu/mason-null-ls.nvim",
|
||||
lazy = true, -- load as dependency
|
||||
opts = {
|
||||
automatic_installation = true,
|
||||
ensure_installed = {
|
||||
-- assembler
|
||||
"asmfmt",
|
||||
-- lua
|
||||
"stylua",
|
||||
-- markdown
|
||||
"mdformat",
|
||||
-- python
|
||||
"isort",
|
||||
"yapf",
|
||||
-- shell
|
||||
"shfmt",
|
||||
-- yaml
|
||||
"yamlfmt",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user