diff --git a/modules/neovim/commands/SmartQuit.lua b/modules/neovim/commands/SmartQuit.lua index f6647d5..9bd9ccd 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 9ada4b1..ec63c29 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;