summaryrefslogtreecommitdiffstats
path: root/plugin/00-plugin.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-25 07:44:15 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-25 07:44:15 +0200
commitfb3587e51e0908c3d43722c55741cf6a386e39ce (patch)
tree248c42999260ab6c9175aea90365aab08bd68c9d /plugin/00-plugin.lua
parentc22fab35706facfa780b800b4dc72559f0ac6c60 (diff)
downloadnvim-config-fb3587e51e0908c3d43722c55741cf6a386e39ce.tar.gz
nvim-config-fb3587e51e0908c3d43722c55741cf6a386e39ce.zip
refactor(nvim): restructure plugin configs, fix OSV launch port
- 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")`
Diffstat (limited to 'plugin/00-plugin.lua')
-rw-r--r--plugin/00-plugin.lua10
1 files changed, 5 insertions, 5 deletions
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",