Move setting to correct function.

This commit is contained in:
CronyAkatsuki 2024-03-16 18:24:39 +01:00
parent 3f3132a860
commit 982683f1ec

View File

@ -14,7 +14,7 @@
options = { silent = true; }; options = { silent = true; };
} }
{ {
action = "<cmd>lua require('conform').format({ bufnr = buf })<cr>"; action = "<cmd>lua require('conform').format({ bufnr = buf, lsp_fallback = true })<cr>";
key = "<leader>f"; key = "<leader>f";
options = { silent = true; }; options = { silent = true; };
} }
@ -57,7 +57,7 @@
''; '';
extraConfigLuaPost = '' extraConfigLuaPost = ''
vim.notify = require("mini.notify").make_notify({lsp_fallback = true}) vim.notify = require("mini.notify").make_notify()
''; '';
extraPackages = with pkgs; [ stylua isort black nixfmt jq shfmt ]; extraPackages = with pkgs; [ stylua isort black nixfmt jq shfmt ];
plugins = { plugins = {