Commit 28fb0f3
committed
feat(loader): handle hyphens in file names when deactivating
## Description
When deactivating plugins `vim.g.loaded_` variables are cleared based on
a common pattern plugins use to use avoid multiple initializing. The
current logic handles most cases, except when a lua file has a hyphen in
which case it is unlikely to clear the correct variable.1 parent e6a8824 commit 28fb0f3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments