Skip to content

Commit b95f53f

Browse files
author
Younes Moustaghfir
committed
chore: update init.lua to include lsp servers for python and rust
1 parent 1860184 commit b95f53f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

init.lua

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,8 @@ require('lazy').setup({
572572
-- clangd = {},
573573
-- gopls = {},
574574
-- pyright = {},
575-
-- rust_analyzer = {},
576-
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
575+
rust_analyzer = {},
576+
ruff = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
577577
--
578578
-- Some languages (like typescript) have entire language plugins that can be useful:
579579
-- https://github.com/pmizio/typescript-tools.nvim
@@ -611,6 +611,8 @@ require('lazy').setup({
611611
local ensure_installed = vim.tbl_keys(servers or {})
612612
vim.list_extend(ensure_installed, {
613613
'stylua', -- Used to format Lua code
614+
'ruff',
615+
'rust_analyzer',
614616
})
615617
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
616618

@@ -856,6 +858,11 @@ require('lazy').setup({
856858
},
857859
indent = { enable = true, disable = { 'ruby' } },
858860
},
861+
{
862+
'catppuccin/nvim',
863+
name = 'catppuccin',
864+
priority = 1000,
865+
},
859866
config = function(_, opts)
860867
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
861868

0 commit comments

Comments
 (0)