Skip to content

Commit

Permalink
Change initialization order
Browse files Browse the repository at this point in the history
  • Loading branch information
tani authored and LumaKernel committed Oct 11, 2022
1 parent e0c7bc7 commit edd4ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entrypoints/coc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const activate = async (context: ExtensionContext): Promise<void> => {
if (!paths.includes(context.extensionPath)) {
await workspace.nvim.command(`execute 'noautocmd set runtimepath^='.fnameescape('${context.extensionPath}')`);
}
await workspace.nvim.command('runtime plugin/tsdetect.vim');

// Setup manual commands.
(['deno', 'node'] as const).forEach((target) => {
Expand Down Expand Up @@ -55,4 +54,5 @@ export const activate = async (context: ExtensionContext): Promise<void> => {

// Initialize after launched coc-tsdetect.
await initialize(context);
await workspace.nvim.command('runtime plugin/tsdetect.vim');
};

0 comments on commit edd4ebc

Please sign in to comment.