diff --git a/modules/home-manager/nixvim/plugins/conform.nix b/modules/home-manager/nixvim/plugins/conform.nix index 7dbca91..05b337b 100644 --- a/modules/home-manager/nixvim/plugins/conform.nix +++ b/modules/home-manager/nixvim/plugins/conform.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { programs.nixvim = { @@ -14,7 +14,6 @@ local disable_filetypes = { c = true, cpp = true } return { timeout_ms = 500 - lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype] } end ''; diff --git a/modules/home-manager/nixvim/plugins/default.nix b/modules/home-manager/nixvim/plugins/default.nix index cb967a3..ac70d70 100644 --- a/modules/home-manager/nixvim/plugins/default.nix +++ b/modules/home-manager/nixvim/plugins/default.nix @@ -7,5 +7,6 @@ ./treesitter.nix ./telescope.nix ./lazygit.nix + ./conform.nix ]; } diff --git a/modules/home-manager/nixvim/plugins/gitsigns.nix b/modules/home-manager/nixvim/plugins/gitsigns.nix new file mode 100644 index 0000000..325b20d --- /dev/null +++ b/modules/home-manager/nixvim/plugins/gitsigns.nix @@ -0,0 +1,16 @@ +{ ... }: + +{ + programs.nixvim.plugins.gitsigns = { + enable = true; + settings = { + signs = { + add = { text = "+"; }; + change = { text = "~"; }; + delete = { text = "_"; }; + topdelete = { text = "‾"; }; + changedelete = { text = "~"; }; + }; + }; + }; +}