mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix searchRipgrep.enable setting reference
This commit is contained in:
parent
2040792965
commit
a03c4b624e
|
@ -8,7 +8,7 @@ import { RipgrepTextSearchEngine } from './ripgrepTextSearch';
|
|||
import { RipgrepFileSearchEngine } from './ripgrepFileSearch';
|
||||
|
||||
export function activate(): void {
|
||||
if (vscode.workspace.getConfiguration('searchrg').get('enable')) {
|
||||
if (vscode.workspace.getConfiguration('searchRipgrep').get('enable')) {
|
||||
const outputChannel = vscode.window.createOutputChannel('search-rg');
|
||||
const provider = new RipgrepSearchProvider(outputChannel);
|
||||
vscode.workspace.registerSearchProvider('file', provider);
|
||||
|
|
Loading…
Reference in a new issue