playing with themes

This commit is contained in:
talksik
2023-06-18 20:49:54 -07:00
parent 79719ef20d
commit c67c8e9afd
4 changed files with 25 additions and 5 deletions
+7 -3
View File
@@ -1,6 +1,10 @@
function ColorMyPencils(color)
require('onedark').setup {
style = 'warmer'
}
require('onedark').load()
function theme_solarized(color)
color = color or "solarized"
vim.cmd.colorscheme(color)
end
ColorMyPencils()
+11 -2
View File
@@ -102,14 +102,23 @@ rt.setup({
-- to enable rust-analyzer settings visit:
-- https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/generated_config.adoc
["rust-analyzer"] = {
-- enable clippy on save
diagnostics = {
enable = true,
experimental = {
enable = true
}
},
-- -- enable clippy on save
checkOnSave = {
command = "clippy",
},
cargo = {
-- to enable include! macro being read
-- loadOutDirsFromCheck = true,
-- buildScripts = true,
buildScripts = {
-- to enable build scripts being read
enable = true
},
},
},
},
+2
View File
@@ -69,6 +69,8 @@ return require('packer').startup(function(use)
use("ThePrimeagen/harpoon")
-- themes
use('shaunsingh/solarized.nvim')
use('navarasu/onedark.nvim')
end)
+5
View File
@@ -185,6 +185,11 @@ _G.packer_plugins = {
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
url = "https://github.com/nvim-tree/nvim-web-devicons"
},
["onedark.nvim"] = {
loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/onedark.nvim",
url = "https://github.com/navarasu/onedark.nvim"
},
["packer.nvim"] = {
loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/packer.nvim",