aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index bc63244..3afb6a6 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,29 @@ $ echo '{ "foo": 1, "bar": 2, }' | reparojson
```
+## Editor Integration Examples
+
+### Neovim + nvim-lspconfig + efm-langserver
+
+```lua
+local lspconfig = require('lspconfig')
+lspconfig.efm.setup({
+ init_options = { documentFormatting = true },
+ settings = {
+ rootMarkers = {".git/"},
+ languages = {
+ json = {
+ {
+ formatCommand = "reparojson -q",
+ formatStdin = true,
+ },
+ },
+ },
+ }
+})
+```
+
+
## License
See [LICENSE](./LICENSE).