Skip to content

Commit

Permalink
Change theme to rose pine.
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonllera committed Sep 13, 2024
1 parent 64b9c27 commit 9b4ba0c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
7 changes: 2 additions & 5 deletions lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ local plugins = {
"folke/tokyonight.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
-- load the colorscheme here
vim.cmd([[colorscheme tokyonight]])
end,
},

{ 'marko-cerovac/material.nvim' },
{ "rose-pine/neovim", name = "rose-pine", opts = {styles = {italic = false,},}},

-- LSP
{ "williamboman/mason.nvim", config = function() require("mason").setup() end },
{ "williamboman/mason-lspconfig.nvim" , config = function() require("mason-lspconfig").setup() end },

Expand Down
1 change: 1 addition & 0 deletions lua/plugins/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local servers = {
"dockerls",
-- "jedi_langauge_server",
-- "hls",
-- "basedpyright",
"julials",
"jsonls",
"lua_ls",
Expand Down
4 changes: 2 additions & 2 deletions lua/plugins/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local non_language_ft = {'fugitive', 'startify'}

require('lualine').setup({
options = {
theme = "tokyonight",
theme = "auto",
-- Separators might look weird for certain fonts (eg Cascadia)
component_separators = {left = '', right = ''},
section_separators = {left = '', right = ''},
Expand All @@ -29,7 +29,7 @@ require('lualine').setup({
function()
local msg = 'No LSP'
local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype')
local clients = vim.lsp.get_active_clients()
local clients = vim.lsp.get_clients()

if next(clients) == nil then
return msg
Expand Down
12 changes: 9 additions & 3 deletions lua/themes.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
-- Themes

-- TokioNight
vim.g.tokyonight_style = 'night'
vim.g.tokyonight_italic_comments = false
vim.cmd [[colorscheme tokyonight]]
-- vim.g.tokyonight_style = 'night'
-- vim.g.tokyonight_italic_comments = false
-- vim.cmd [[colorscheme tokyonight]]

-- Material
-- vim.g.material_style = 'oceanic'
-- vim.cmd [[colorscheme material]]


-- Rose Pine
-- vim.cmd("colorscheme rose-pine")
vim.cmd("colorscheme rose-pine-moon")
-- vim.cmd("colorscheme rose-pine-dawn")

0 comments on commit 9b4ba0c

Please sign in to comment.