diff --git a/modules/neovim/commands/SmartQuit.lua b/modules/neovim/commands/SmartQuit.lua index f6647d54d2d5bfafcc51305af5641dc5612e077e..9bd9ccdfc7673eec8a9bebbc61e3f1c32fc96bf7 100644 --- a/modules/neovim/commands/SmartQuit.lua +++ b/modules/neovim/commands/SmartQuit.lua @@ -43,7 +43,7 @@ vim.api.nvim_create_user_command("SmartQuit", function(opts) style = "minimal", border = "rounded", title = { - { #unsaved .. " Unsaved Buffer" .. (#unsaved != 1 and "s" or "") .. "!", "ErrorMsg" }, + { #unsaved .. " Unsaved Buffer" .. (#unsaved ~= 1 and "s" or "") .. "!", "ErrorMsg" }, }, title_pos = "center", }) diff --git a/users/clover/vim.nix b/users/clover/vim.nix index 9ada4b1e147f68b899bf6a7ba1cdf1ba315045ef..ec63c29156845ebab16ed99f6e77db903a5fa83d 100644 --- a/users/clover/vim.nix +++ b/users/clover/vim.nix @@ -1,6 +1,7 @@ -_: { +{ lib, ... }: +{ vim = { - languages.lua.enable = false; # broken + languages.lua.enable = lib.mkForce true; options.linebreak = true; git.gitsigns.setupOpts = { current_line_blame = false;