From fb3587e51e0908c3d43722c55741cf6a386e39ce Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 25 Jun 2026 07:44:15 +0200 Subject: refactor(nvim): restructure plugin configs, fix OSV launch port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - rewrite the file headers as block comments and regroup the autocompletion and dap files into Settings / Autocommands / Keymaps sections - fix `OSVLaunch`: `dap.configurations.lua.port` was nil (the field is a list), so the server ignored 8086; share an `OSV_PORT` constant between the launch call and the attach configuration - `.luarc.json`: list each plugin directory explicitly so lua_ls loads their type annotations - use `vim.fs.basename` instead of `vim.fn.fnamemodify(…, ":t")` --- plugin/00-plugin.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugin/00-plugin.lua') diff --git a/plugin/00-plugin.lua b/plugin/00-plugin.lua index def11c0..ac34066 100644 --- a/plugin/00-plugin.lua +++ b/plugin/00-plugin.lua @@ -1,8 +1,8 @@ --- --- 00-plugin.lua --- --- * Installs third-party plugins. --- +--[[ 00-plugin.lua — install third-party plugins via vim.pack. + +Plugins are pinned in nvim-pack-lock.json; this file must load first so later plugin/ files can +require() them. +]] vim.pack.add({ "https://github.com/airblade/vim-gitgutter", -- cgit v1.3.1