add solarized theme

This commit is contained in:
Lucas Barbieri 2024-03-04 15:40:32 -03:00
parent 09fbad0ee4
commit 2776743ffd
5 changed files with 30 additions and 17 deletions

View File

@ -181,13 +181,13 @@ require('telescope').setup {
}, },
pickers = { pickers = {
find_files = { find_files = {
theme = "cursor", theme = "ivy",
} }
}, },
extensions = { extensions = {
file_browser = { file_browser = {
initial_mode = "normal", initial_mode = "normal",
theme = "dropdown", theme = "ivy",
hijack_netrw = true hijack_netrw = true
}, },
}, },
@ -357,7 +357,7 @@ local servers = {
configuration = { configuration = {
runtimes = { runtimes = {
name = "JavaSE-17", name = "JavaSE-17",
path = "/opt/openjdk-bin-17", path = "/usr/lib/jvm/java-17-openjdk",
default = true, default = true,
} }
} }
@ -400,11 +400,7 @@ mason_lspconfig.setup_handlers {
} }
-- this is for my personal config, i cant bother seeing every TJ's default and changing it to my own -- this is for my personal config, i cant bother seeing every TJ's default and changing it to my own
require("jabuxas") require("jabuxas")
vim.opt.tabstop = 2
vim.opt.tabstop = 4 vim.opt.softtabstop = 2
vim.opt.softtabstop = 4 vim.opt.shiftwidth = 2
vim.opt.shiftwidth = 4
vim.opt.expandtab = true vim.opt.expandtab = true
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=4 sts=4 sw=4 et

View File

@ -78,6 +78,26 @@ elseif fileContent == "melange" then
end, end,
} }
elseif fileContent == "solarized" then
colorscheme = {
'maxmx03/solarized.nvim',
lazy = false,
priority = 1000,
config = function()
vim.o.background = 'dark' -- or 'light'
require('solarized').setup({
enables = {
cmp = true,
},
pallete = "solarized",
theme = "neo",
transparent = true,
})
vim.cmd.colorscheme 'solarized'
end,
}
else else
colorscheme = { colorscheme = {
"bluz71/vim-moonfly-colors", "bluz71/vim-moonfly-colors",

View File

@ -1,4 +0,0 @@
return {
"liangxianzhe/floating-input.nvim",
opts = {}
}

View File

@ -11,6 +11,7 @@ return {
require("null-ls").builtins.formatting.goimports_reviser, require("null-ls").builtins.formatting.goimports_reviser,
require("null-ls").builtins.formatting.golines, require("null-ls").builtins.formatting.golines,
require("null-ls").builtins.diagnostics.golangci_lint, require("null-ls").builtins.diagnostics.golangci_lint,
require("null-ls").builtins.formatting.google_java_format,
} }
} }
end end

View File

@ -5,9 +5,9 @@ vim.opt.nu = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.opt.clipboard:append({ "unnamedplus" }) vim.opt.clipboard:append({ "unnamedplus" })
vim.opt.tabstop = 4 vim.opt.tabstop = 2
vim.opt.softtabstop = 4 vim.opt.softtabstop = 2
vim.opt.shiftwidth = 4 vim.opt.shiftwidth = 2
vim.opt.expandtab = true vim.opt.expandtab = true
vim.opt.smartindent = true vim.opt.smartindent = true