playing with themes
This commit is contained in:
@@ -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
@@ -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
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -69,6 +69,8 @@ return require('packer').startup(function(use)
|
||||
|
||||
use("ThePrimeagen/harpoon")
|
||||
|
||||
-- themes
|
||||
use('shaunsingh/solarized.nvim')
|
||||
use('navarasu/onedark.nvim')
|
||||
end)
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user