Compare commits

...

4 Commits

Author SHA1 Message Date
orip 216e06a36d Update section 2's name 2026-07-25 20:54:30 +03:00
Ori Perry 9a023810f4 Merge pull request #2093 from rez1-dev/section-names
chore(init.lua): clarify section comments
2026-07-25 20:51:05 +03:00
orip 3a2194f210 Call mason-lspconfig.setup to avoid UB
fixes: #2121, resolves: #2128
2026-07-25 20:44:18 +03:00
rez1 3a6511c71a chore(init.lua): clarify section comments 2026-06-12 14:16:40 +06:00
+8 -3
View File
@@ -86,7 +86,7 @@ P.S. You can delete this when you're done too. It's your config now! :)
-- ============================================================
-- SECTION 1: OPTIONS
-- Core Neovim settings, leaders, options, basic keymaps, basic autocmds
-- Core Neovim settings, leaders, options
-- ============================================================
do
-- Enable faster startup by caching compiled Lua modules
@@ -174,8 +174,8 @@ do
end
-- ============================================================
-- SECTION 2: KEYMAPS
-- basic keymaps
-- SECTION 2: KEYMAPS & AUTOCMDS
-- basic keymaps, basic autocmds
-- ============================================================
do
-- [[ Basic Keymaps ]]
@@ -750,6 +750,11 @@ do
-- Automatically install LSPs and related tools to stdpath for Neovim
require('mason').setup {}
-- Translates between nvim-lspconfig server names and mason.nvim package names (e.g. lua_ls <-> lua-language-server)
require('mason-lspconfig').setup {
automatic_enable = false, -- Change this to true if you want to automatically enable servers that are installed manually (e.g. via :Mason / :MasonInstall)
}
-- Ensure the servers and tools above are installed
--
-- To check the current status of installed tools and/or manually install