Update colorscheme
This commit is contained in:
parent
c2dc0f5c8b
commit
10469b1d42
3 changed files with 16 additions and 13 deletions
|
|
@ -12,6 +12,14 @@
|
||||||
- '{{ xdg_data_dir }}/nvim/site/pack/default'
|
- '{{ xdg_data_dir }}/nvim/site/pack/default'
|
||||||
- '{{ xdg_data_dir }}/nvim/site/pack/default/start'
|
- '{{ xdg_data_dir }}/nvim/site/pack/default/start'
|
||||||
|
|
||||||
|
- name: remove old neovim packages
|
||||||
|
file:
|
||||||
|
path: '{{ item }}'
|
||||||
|
state: absent
|
||||||
|
loop:
|
||||||
|
- '{{ xdg_data_dir }}/nvim/site/pack/default/start/catpuccin'
|
||||||
|
- '{{ xdg_data_dir }}/nvim/site/pack/default/start/vim-colors-xcode'
|
||||||
|
|
||||||
# Note that helptags may need to be regenerated (see `:h helptags`)
|
# Note that helptags may need to be regenerated (see `:h helptags`)
|
||||||
- name: clone neovim packages
|
- name: clone neovim packages
|
||||||
git:
|
git:
|
||||||
|
|
@ -19,6 +27,7 @@
|
||||||
dest: '{{ xdg_data_dir }}/nvim/site/pack/default/start/{{ item.name }}'
|
dest: '{{ xdg_data_dir }}/nvim/site/pack/default/start/{{ item.name }}'
|
||||||
update: true
|
update: true
|
||||||
version: '{{ item.version|default("HEAD") }}'
|
version: '{{ item.version|default("HEAD") }}'
|
||||||
|
force: true # some maintainers overwrite existing tags :/
|
||||||
loop: '{{ neovim_plugins }}'
|
loop: '{{ neovim_plugins }}'
|
||||||
|
|
||||||
- name: install neovim node package
|
- name: install neovim node package
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ vim.api.nvim_create_autocmd({'OptionSet'}, {
|
||||||
pattern = {'background'},
|
pattern = {'background'},
|
||||||
callback = function()
|
callback = function()
|
||||||
if vim.o.background == 'dark' then
|
if vim.o.background == 'dark' then
|
||||||
vim.cmd('colorscheme xcodedark')
|
vim.cmd('colorscheme github_dark_dimmed')
|
||||||
else
|
else
|
||||||
vim.cmd('colorscheme catppuccin-latte')
|
vim.cmd('colorscheme github_light')
|
||||||
end
|
end
|
||||||
|
|
||||||
-- force a full redraw:
|
-- force a full redraw:
|
||||||
|
|
|
||||||
|
|
@ -33,22 +33,16 @@ neovim_plugins:
|
||||||
version: 'v0.9.0',
|
version: 'v0.9.0',
|
||||||
}
|
}
|
||||||
- { url: 'https://github.com/nvim-lualine/lualine.nvim', name: 'lualine' }
|
- { url: 'https://github.com/nvim-lualine/lualine.nvim', name: 'lualine' }
|
||||||
- {
|
|
||||||
url: 'https://github.com/catppuccin/nvim',
|
|
||||||
name: 'catppuccin',
|
|
||||||
version: '045e3499d9ec8d84635fb08877ae44fd33f6a38d',
|
|
||||||
}
|
|
||||||
- {
|
|
||||||
url: 'https://github.com/lunacookies/vim-colors-xcode',
|
|
||||||
name: 'vim-colors-xcode',
|
|
||||||
version: '3d1f81ce9550d609ce962f66407759eb581bd725',
|
|
||||||
}
|
|
||||||
- {
|
- {
|
||||||
url: 'https://github.com/lukas-reineke/indent-blankline.nvim',
|
url: 'https://github.com/lukas-reineke/indent-blankline.nvim',
|
||||||
name: 'indent-blankline.nvim',
|
name: 'indent-blankline.nvim',
|
||||||
version: 'v3.7.2',
|
version: 'v3.7.2',
|
||||||
}
|
}
|
||||||
|
- {
|
||||||
|
url: 'https://github.com/projekt0n/github-nvim-theme.git',
|
||||||
|
name: 'github-colors',
|
||||||
|
version: 'v1.1.2',
|
||||||
|
}
|
||||||
|
|
||||||
gitlab_domain: 'git.fudiggity.nl'
|
gitlab_domain: 'git.fudiggity.nl'
|
||||||
gitlab_host_key: 'git.fudiggity.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINh/SlWqWmH2FG+duiJkkSpq0Fm+wUAmc//4/CbzbX5+'
|
gitlab_host_key: 'git.fudiggity.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINh/SlWqWmH2FG+duiJkkSpq0Fm+wUAmc//4/CbzbX5+'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue