diff --git a/init.lua b/init.lua index 39e104cc..20105567 100644 --- a/init.lua +++ b/init.lua @@ -764,14 +764,20 @@ require('lazy').setup({ lsp_format = 'fallback', } end + return { + timeout_ms = 2000, + lsp_format = lsp_format_opt, + } end, formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially - python = { 'ruff_fix', 'ruff_format', 'ruff_organize_imports' }, - json = {}, + python = { 'ruff_format', 'ruff_organize_imports' }, + json = { 'prettier' }, -- You can use 'stop_after_first' to run the first available formatter from the list javascript = { 'prettierd', 'prettier', stop_after_first = true }, + yaml = { 'prettierd', 'prettier', stop_after_first = true }, + typescript = { 'prettierd', 'prettier', stop_after_first = true }, }, }, }, @@ -992,7 +998,7 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', - -- require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', -- require 'kickstart.plugins.autopairs', -- require 'kickstart.plugins.neo-tree', diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 963edf0d..d0c1ca1c 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -124,4 +124,20 @@ return { }, { 'ofseed/copilot-status.nvim' }, --{ 'AndreM222/copilot-lualine' }, + { -- know what is possible at the command line + 'gelguy/wilder.nvim', + config = function() + local wilder = require 'wilder' + wilder.setup { modes = { ':', '/', '?' } } + end, + }, + + { -- shows the colors in files e.g. #CCAA33 + 'norcalli/nvim-colorizer.lua', + config = function() + require('colorizer').setup() + end, + }, + + { 'sainnhe/gruvbox-material' }, } -- end of return