]> git.madduck.net Git - etc/neovim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Artesanal colour scheme
authormartin f. krafft <madduck@madduck.net>
Wed, 9 Apr 2025 08:35:14 +0000 (10:35 +0200)
committermartin f. krafft <madduck@madduck.net>
Fri, 11 Apr 2025 18:48:08 +0000 (20:48 +0200)
.config/nvim/init.lua
.config/nvim/plugin/vim-artesanal.lua [new file with mode: 0644]
.gitignore.d/neovim

index fcc366a11c502f5f6347a5923e0ac477fcafceb0..5a35428e6bf018484a461707f7c957cfcd6dd0b9 100644 (file)
@@ -4,6 +4,8 @@ vim.call "plug#begin"
 
 local Plug = vim.fn['plug#']
 
+-- My preferred colour scheme
+Plug 'wimstefan/vim-artesanal'
 
 function hasPlug(plugin)
   return vim.g.plugs[plugin] ~= nil
diff --git a/.config/nvim/plugin/vim-artesanal.lua b/.config/nvim/plugin/vim-artesanal.lua
new file mode 100644 (file)
index 0000000..100ed16
--- /dev/null
@@ -0,0 +1,7 @@
+if hasPlug('vim-artesanal') then
+  vim.g.artesanal_dimmed = true
+  vim.g.artesanal_transparent = true
+  vim.cmd.colorscheme "artesanal"
+else
+  print 'artesanal colourscheme is not installed'
+end
index ab20b0c0821669ddc85264091163c3ced0cb2091..67f09bb304614351ecfb6cf8077168314bc281e2 100644 (file)
@@ -1,4 +1,5 @@
 *
 !/.config/nvim/autoload/plug.vim
 !/.config/nvim/init.lua
+!/.config/nvim/plugin/vim-artesanal.lua
 !/.gitignore.d/neovim