MCPcopy Index your code
hub / github.com/VSCodeVim/Vim / loadConfiguration

Function loadConfiguration

extensionBase.ts:74–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 * Loads and validates the user's configuration
73 */
74export async function loadConfiguration() {
75 const validatorResults = await configuration.load();
76
77 Logger.debug(`${validatorResults.numErrors} errors found with vim configuration`);
78
79 if (validatorResults.numErrors > 0) {
80 for (const validatorResult of validatorResults.get()) {
81 switch (validatorResult.level) {
82 case 'error':
83 Logger.error(validatorResult.message);
84 break;
85 case 'warning':
86 Logger.warn(validatorResult.message);
87 break;
88 }
89 }
90 }
91}
92
93/**
94 * The extension's entry point

Callers 2

activateFunction · 0.90
activateFunction · 0.85

Calls 5

debugMethod · 0.80
errorMethod · 0.80
warnMethod · 0.80
getMethod · 0.65
loadMethod · 0.45

Tested by

no test coverage detected