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/config.toml"
]

View File

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

View File

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

View File

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

View File

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

View File

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