oceanic next for vim
This commit is contained in:
parent
c1a05c697e
commit
34a5cecc41
@ -1,4 +1,4 @@
|
||||
import = [
|
||||
general.import = [
|
||||
"~/.config/alacritty/catppucin-latte.toml",
|
||||
"~/.config/alacritty/config.toml"
|
||||
]
|
||||
|
@ -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" }
|
||||
}
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user