Skip to content

Commit

Permalink
Specify codeActionKinds (#180576)
Browse files Browse the repository at this point in the history
Avoids extra calls and lets us show this info in the UI
  • Loading branch information
mjbvz authored Apr 21, 2023
1 parent bede6ba commit ab7c32a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion extensions/markdown-language-features/server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,14 @@ export async function startServer(connection: Connection, serverConfig: {
interFileDependencies: true,
workspaceDiagnostics: false,
},
codeActionProvider: { resolveProvider: true },
codeActionProvider: {
resolveProvider: true,
codeActionKinds: [
organizeLinkDefKind,
'quickfix',
'refactor',
]
},
definitionProvider: true,
documentLinkProvider: { resolveProvider: true },
documentSymbolProvider: true,
Expand Down

0 comments on commit ab7c32a

Please sign in to comment.