Skip to content

Commit

Permalink
Merge pull request #10 from fourdigits/update-readme-to-include-neovi…
Browse files Browse the repository at this point in the history
…m-setup

Update README to include Neovim setup guide.
  • Loading branch information
krukas authored Jun 12, 2024
2 parents b292181 + 521b48d commit 115d785
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,23 @@ Project settings `.helix/languages.toml`:
django_settings_modules="<your.settings.module>"
```

### NeoVim

In your lspconfig add the following

```lua
require'lspconfig'.djlsp.setup{
cmd = { "<path-to-djlsp>" },
settings = {
djlsp = {
django_settings_module = "<your.settings.module>"
docker_compose_file = "docker-compose.yml",
docker_compose_service = "django"
}
}
}
```

### VSCode

To use the Django template LSP with VSCode read the following [readme](vscode/README.md)
Expand Down

0 comments on commit 115d785

Please sign in to comment.