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
},
},
},
},