oceanic next for vim

This commit is contained in:
Elizabeth Hunt 2024-12-15 16:09:37 -08:00
parent c1a05c697e
commit af9c9162a2
6 changed files with 14 additions and 11 deletions

View File

@ -1,4 +1,4 @@
import = [ general.import = [
"~/.config/alacritty/catppucin-latte.toml", "~/.config/alacritty/catppucin-latte.toml",
"~/.config/alacritty/config.toml" "~/.config/alacritty/config.toml"
] ]

View File

@ -22,6 +22,7 @@
"nvim-tree.lua": { "branch": "master", "commit": "82ab19ebf79c1839d7351f2fed213d1af13a598e" }, "nvim-tree.lua": { "branch": "master", "commit": "82ab19ebf79c1839d7351f2fed213d1af13a598e" },
"nvim-treesitter": { "branch": "master", "commit": "38c12cb9ac8e1c547a8472c87df9e9d7c8b1af0d" }, "nvim-treesitter": { "branch": "master", "commit": "38c12cb9ac8e1c547a8472c87df9e9d7c8b1af0d" },
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" }, "nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
"oceanic-next": { "branch": "master", "commit": "09833f72d5ba23de2e8bcae18f479f326f5f677a" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"telescope.nvim": { "branch": "master", "commit": "85922dde3767e01d42a08e750a773effbffaea3e" } "telescope.nvim": { "branch": "master", "commit": "85922dde3767e01d42a08e750a773effbffaea3e" }
} }

View File

@ -64,7 +64,7 @@ lspconfig.lua_ls.setup {
} }
-- setup multiple servers with same default options -- setup multiple servers with same default options
local servers = { "tsserver", "html", "cssls" } local servers = { "ts_ls", "html", "cssls" }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig[lsp].setup { lspconfig[lsp].setup {

View File

@ -2,6 +2,7 @@ local plugins = {
{ lazy = true, "nvim-lua/plenary.nvim" }, { lazy = true, "nvim-lua/plenary.nvim" },
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 }, { "catppuccin/nvim", name = "catppuccin", priority = 1000 },
{ "mhartington/oceanic-next", name = "oceanic-next", priority = 1000 },
-- file tree -- file tree
{ {

View File

@ -7,13 +7,14 @@ function Set_theme_at(path)
theme = theme:gsub("%s+", "") theme = theme:gsub("%s+", "")
f:close() f:close()
vim.schedule(function() vim.schedule(function()
if (theme == "light") then vim.cmd("colorscheme OceanicNext")
vim.api.nvim_set_option("background", "light") -- if (theme == "light") then
vim.cmd("colorscheme catppuccin-latte") -- vim.api.nvim_set_option("background", "light")
else -- vim.cmd("colorscheme catppuccin-latte")
vim.api.nvim_set_option("background", "dark") -- else
vim.cmd("colorscheme catppuccin-mocha") -- vim.api.nvim_set_option("background", "dark")
end -- vim.cmd("colorscheme catppuccin-mocha")
-- end
end) end)
end end

View File

@ -169,7 +169,7 @@
(global-ligature-mode t)) (global-ligature-mode t))
#+END_SRC #+END_SRC
** Highlight indent guid ** Highlight indent guides
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package :highlight-indent-guides (use-package :highlight-indent-guides
:ensure t :ensure t