Skip to content

Commit 0097887

Browse files
committed
docs: change API key setup
1 parent dfd8c85 commit 0097887

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,7 @@ First, you need to generate an API key for the DEV platform.
5656

5757
For dev.to, you can do it in [the end of the extension's page](https://dev.to/settings/extensions)
5858

59-
With your API key, you need to pass it in the `setup` function:
60-
61-
```lua
62-
require'forem-nvim'.setup {
63-
api_key = "" -- Your API Key
64-
}
65-
```
59+
With your API key, you just need to set it into the `FOREM_API_KEY` environment variable.
6660

6761
## Usage
6862

0 commit comments

Comments
 (0)