@@ -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
0 commit comments