diff --git a/after/plugin/defaults.lua b/after/plugin/defaults.lua index e64c56f1..c1eecf11 100644 --- a/after/plugin/defaults.lua +++ b/after/plugin/defaults.lua @@ -38,4 +38,14 @@ for type, icon in pairs(signs) do vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl }) end +-- null-ls + +local null_ls = require("null-ls") + +null_ls.setup({ + sources = { + null_ls.builtins.formatting.prettierd, + }, +}) + -- vim: ts=2 sts=2 sw=2 et diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 98029f39..02ae290b 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -19,8 +19,10 @@ return { { "kristijanhusak/vim-dirvish-git", - dependencies = { - "justinmk/vim-dirvish", - }, + dependencies = { "justinmk/vim-dirvish", }, }, + { + "jose-elias-alvarez/null-ls.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + } }