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"
|
color = color or "solarized"
|
||||||
vim.cmd.colorscheme(color)
|
vim.cmd.colorscheme(color)
|
||||||
end
|
end
|
||||||
|
|
||||||
ColorMyPencils()
|
|
||||||
|
|||||||
+11
-2
@@ -102,14 +102,23 @@ rt.setup({
|
|||||||
-- to enable rust-analyzer settings visit:
|
-- to enable rust-analyzer settings visit:
|
||||||
-- https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/generated_config.adoc
|
-- https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/generated_config.adoc
|
||||||
["rust-analyzer"] = {
|
["rust-analyzer"] = {
|
||||||
-- enable clippy on save
|
diagnostics = {
|
||||||
|
enable = true,
|
||||||
|
experimental = {
|
||||||
|
enable = true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
-- -- enable clippy on save
|
||||||
checkOnSave = {
|
checkOnSave = {
|
||||||
command = "clippy",
|
command = "clippy",
|
||||||
},
|
},
|
||||||
cargo = {
|
cargo = {
|
||||||
-- to enable include! macro being read
|
-- to enable include! macro being read
|
||||||
-- loadOutDirsFromCheck = true,
|
-- 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")
|
use("ThePrimeagen/harpoon")
|
||||||
|
|
||||||
|
-- themes
|
||||||
use('shaunsingh/solarized.nvim')
|
use('shaunsingh/solarized.nvim')
|
||||||
|
use('navarasu/onedark.nvim')
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
@@ -185,6 +185,11 @@ _G.packer_plugins = {
|
|||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
|
||||||
url = "https://github.com/nvim-tree/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"] = {
|
["packer.nvim"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
||||||
|
|||||||
Reference in New Issue
Block a user