Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.

Commit d212f1a

Browse files
committed
refactor: rename enabled to enable
1 parent 72f494e commit d212f1a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"configuration": {
1616
"title": "elixir-tools",
1717
"properties": {
18-
"elixir-tools.credo.enabled": {
18+
"elixir-tools.credo.enable": {
1919
"type": "boolean",
2020
"default": true,
2121
"description": "Whether to start the Credo Language Server."

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function activate(_context: vscode.ExtensionContext) {
1717
let text = await vscode.workspace.fs.readFile(files[0]);
1818

1919
if (text.toString().includes("{:credo")) {
20-
if (config.get("enabled")) {
20+
if (config.get("enable")) {
2121
const serverOptions: Executable = {
2222
command: "mix",
2323
args: ["credo.lsp", "--stdio"],

0 commit comments

Comments
 (0)