diff options
Diffstat (limited to 'home/jack/.config/nvchad/configs/null-ls.lua')
-rw-r--r-- | home/jack/.config/nvchad/configs/null-ls.lua | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/home/jack/.config/nvchad/configs/null-ls.lua b/home/jack/.config/nvchad/configs/null-ls.lua deleted file mode 100644 index 1b4b81a4..00000000 --- a/home/jack/.config/nvchad/configs/null-ls.lua +++ /dev/null @@ -1,37 +0,0 @@ -local present, null_ls = pcall(require, "null-ls") - -if not present then - return -end - -local b = null_ls.builtins - -local sources = { - -- lua - b.formatting.stylua, - - -- cpp - b.formatting.clang_format, - - -- rust - b.formatting.rustfmt, - - -- python - b.formatting.black, - - -- latex - b.formatting.latexindent, -} - -null_ls.setup({ - debug = true, - sources = sources, -}) - -local notify = vim.notify -vim.notify = function(msg, ...) - if msg:match("warning: multiple different client offset_encodings") then - return - end - notify(msg, ...) -end |