some nvim plugins

This commit is contained in:
Michael Wesolek 2024-12-09 18:53:18 +01:00 committed by OdysseusOperator
parent bad1d8bfcc
commit d885ff9964
2 changed files with 25 additions and 3 deletions

View File

@ -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',

View File

@ -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