Skip to content

Commit bad23f4

Browse files
author
Younes Moustaghfir
committed
chore: latest changes
1 parent f6296a8 commit bad23f4

File tree

3 files changed

+35
-3
lines changed

3 files changed

+35
-3
lines changed

init.lua

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,11 @@ require('lazy').setup({
621621
local servers = {
622622
-- clangd = {},
623623
gopls = {},
624+
dockerls = {},
625+
yamlls = {},
626+
bashls = {},
627+
-- gh_actions_ls = {},
628+
marksman = {},
624629
-- pyright = {},
625630
rust_analyzer = {},
626631
ruff = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@@ -660,10 +665,9 @@ require('lazy').setup({
660665
-- for you, so that they are available from within Neovim.
661666
local ensure_installed = vim.tbl_keys(servers or {})
662667
vim.list_extend(ensure_installed, {
663-
'stylua', -- Used to format Lua code
668+
-- 'stylua', -- Used to format Lua code
664669
'ruff',
665670
'rust_analyzer',
666-
-- 'go',
667671
})
668672
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
669673

@@ -678,6 +682,8 @@ require('lazy').setup({
678682
require('lspconfig')[server_name].setup(server)
679683
end,
680684
},
685+
automatic_installation = true,
686+
ensure_installed = ensure_installed,
681687
}
682688
end,
683689
},
@@ -969,7 +975,7 @@ require('lazy').setup({
969975
--
970976
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
971977
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
972-
-- { import = 'custom.plugins' },
978+
{ import = 'custom.plugins' },
973979
}, {
974980
ui = {
975981
-- If you are using a Nerd Font: set icons to an empty table which will use the

lua/custom/plugins/barbar.lua

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
return {
2+
'romgrk/barbar.nvim',
3+
dependencies = {
4+
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
5+
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
6+
},
7+
init = function()
8+
vim.g.barbar_auto_setup = false
9+
end,
10+
opts = {
11+
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
12+
-- animation = true,
13+
-- insert_at_start = true,
14+
-- …etc.
15+
icons = {
16+
filetype = {
17+
enabled = false,
18+
},
19+
},
20+
},
21+
version = '^1.0.0', -- optional: only update when a new 1.x version is released
22+
}

lua/custom/plugins/webdevicons.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
return {
2+
'nvim-tree/nvim-web-devicons',
3+
opts = {},
4+
}

0 commit comments

Comments
 (0)