diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-04-10 14:51:56 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-04-10 14:51:56 +0200 |
| commit | b127625d59d1cbf7a8962c1c937846b5297877c6 (patch) | |
| tree | c99130393f3c04fa313a8e33997e953645627249 /common/home/programs/nixvim/default.nix | |
| parent | 2eb7439ab9b7f83fc81eb4d2299d2c764722008d (diff) | |
flake: update
Diffstat (limited to 'common/home/programs/nixvim/default.nix')
| -rw-r--r-- | common/home/programs/nixvim/default.nix | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/common/home/programs/nixvim/default.nix b/common/home/programs/nixvim/default.nix index 4b03191..a5a0600 100644 --- a/common/home/programs/nixvim/default.nix +++ b/common/home/programs/nixvim/default.nix @@ -15,20 +15,20 @@ Info = " " } - for type, icon in pairs(signs) do - local hl = "DiagnosticSign" .. type - vim.fn.sign_define( - hl, - { - text = icon, - texthl = hl, - numhl = hl - } - ) - end + for type, icon in pairs(signs) do + local hl = "DiagnosticSign" .. type + vim.fn.sign_define(hl, { + text = icon, + texthl = hl, + numhl = hl + }) + end - vim.g.zig_fmt_autosave = 0 - ''; + vim.api.nvim_create_autocmd({'BufEnter'}, { + pattern = {'*.png'}, + command = '!setsid imv %', + }) + ''; diagnostics = { virtual_text = { |