Skip to content

Commit

Permalink
docs(readme): update list style
Browse files Browse the repository at this point in the history
  • Loading branch information
LumaKernel authored Mar 6, 2021
1 parent 7103f49 commit 15ac34a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ Run `:CocInsatll coc-tsdetect` in vim/neovim or install `vim-tsdetect` with your

Checking following in order.

1. If buffer name starts with `deno:/` -> **deno**
2. If buffer name ends with `.js`, `.ts`, `.tsx` -> check following in order
a. Shebang is present and including `node` -> **node**
b. Shebang is present and including `deno` -> **deno**
c. `node_modules/` directory is found in ancestors of (following) -> **node**
- If buffer name is not empty, search from that path.
- Otherwise, search from current working directory.
d. Otherwise. -> **deno**
3. -> Check following in order
a. Shebang is present and including `node` -> **node**
b. Shebang is present and including `deno` -> **deno**
4. Otherwise, nothing is detected.
1. If buffer name starts with `deno:/` -> **deno**
2. If buffer name ends with `.js`, `.ts`, `.tsx` -> check following in order
a. Shebang is present and including `node` -> **node**
b. Shebang is present and including `deno` -> **deno**
c. `node_modules/` directory is found in ancestors of (following) -> **node**
- If buffer name is not empty, search from that path.
- Otherwise, search from current working directory.
d. Otherwise. -> **deno**
3. -> Check following in order
a. Shebang is present and including `node` -> **node**
b. Shebang is present and including `deno` -> **deno**
4. Otherwise, nothing is detected.

## When does this try to detect?

Expand Down

0 comments on commit 15ac34a

Please sign in to comment.