chore: latest changes

This commit is contained in:
Younes Moustaghfir 2025-05-22 15:10:00 +02:00
parent f6296a8bb6
commit bad23f408b
3 changed files with 35 additions and 3 deletions

View File

@ -621,6 +621,11 @@ require('lazy').setup({
local servers = {
-- clangd = {},
gopls = {},
dockerls = {},
yamlls = {},
bashls = {},
-- gh_actions_ls = {},
marksman = {},
-- pyright = {},
rust_analyzer = {},
ruff = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@ -660,10 +665,9 @@ require('lazy').setup({
-- for you, so that they are available from within Neovim.
local ensure_installed = vim.tbl_keys(servers or {})
vim.list_extend(ensure_installed, {
'stylua', -- Used to format Lua code
-- 'stylua', -- Used to format Lua code
'ruff',
'rust_analyzer',
-- 'go',
})
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
@ -678,6 +682,8 @@ require('lazy').setup({
require('lspconfig')[server_name].setup(server)
end,
},
automatic_installation = true,
ensure_installed = ensure_installed,
}
end,
},
@ -969,7 +975,7 @@ require('lazy').setup({
--
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
-- { import = 'custom.plugins' },
{ import = 'custom.plugins' },
}, {
ui = {
-- If you are using a Nerd Font: set icons to an empty table which will use the

View File

@ -0,0 +1,22 @@
return {
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function()
vim.g.barbar_auto_setup = false
end,
opts = {
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
-- animation = true,
-- insert_at_start = true,
-- …etc.
icons = {
filetype = {
enabled = false,
},
},
},
version = '^1.0.0', -- optional: only update when a new 1.x version is released
}

View File

@ -0,0 +1,4 @@
return {
'nvim-tree/nvim-web-devicons',
opts = {},
}