Skip to content

Commit 0c04baf

Browse files
committed
updates
1 parent 7e3f52a commit 0c04baf

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

init.lua

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,18 @@ require('lazy').setup({
764764
-- python = { "isort", "black" },
765765
--
766766
-- You can use 'stop_after_first' to run the first available formatter from the list
767-
-- javascript = { "prettierd", "prettier", stop_after_first = true },
767+
javascript = { 'prettierd', 'prettier', stop_after_first = true },
768+
go = { 'goimports', 'gofmt' },
769+
rust = { 'rustfmt', lsp_format = 'fallback' },
770+
cpp = { 'clang-format' },
771+
c = { 'clang-format' },
772+
python = function(bufnr)
773+
if require('conform').get_formatter_info('ruff_format', bufnr).available then
774+
return { 'ruff_format' }
775+
else
776+
return { 'isort', 'black' }
777+
end
778+
end,
768779
},
769780
},
770781
},
@@ -873,11 +884,12 @@ require('lazy').setup({
873884
-- change the command in the config to whatever the name of that colorscheme is.
874885
--
875886
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
876-
'folke/tokyonight.nvim',
887+
-- 'folke/tokyonight.nvim',
888+
'Mofiqul/vscode.nvim',
877889
priority = 1000, -- Make sure to load this before all the other start plugins.
878890
config = function()
879891
---@diagnostic disable-next-line: missing-fields
880-
require('tokyonight').setup {
892+
require('vscode').setup {
881893
styles = {
882894
comments = { italic = false }, -- Disable italics in comments
883895
},
@@ -886,7 +898,8 @@ require('lazy').setup({
886898
-- Load the colorscheme here.
887899
-- Like many other themes, this one has different styles, and you could load
888900
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
889-
vim.cmd.colorscheme 'tokyonight-night'
901+
-- vim.cmd.colorscheme 'tokyonight-night'
902+
vim.cmd.colorscheme 'vscode'
890903
end,
891904
},
892905

lua/custom/plugins/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ return {
3737
config = function()
3838
require('lualine').setup {
3939
options = {
40-
theme = bubbles_theme,
40+
-- theme = bubbles_theme,
41+
theme = 'vscode',
4142
component_separators = '',
4243
section_separators = { left = '', right = '' },
4344
},

0 commit comments

Comments
 (0)