Skip to content

Commit

Permalink
Merge pull request #27 from mistweaverco/feat/docs
Browse files Browse the repository at this point in the history
feat(docs): clarify a lot of things
  • Loading branch information
gorillamoe authored Jul 4, 2024
2 parents 442d136 + a79aa02 commit 82f6364
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 12 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ It allows you to make HTTP requests from within Neovim.

## Install

> [!WARNING]
> Requires Neovim 0.10.0+
Via [lazy.nvim](https://github.com/folke/lazy.nvim):

### Configuration
Expand All @@ -47,18 +50,22 @@ require('lazy').setup({
default_env = "dev",
-- enable/disable debug mode
debug = false,
inlay = {
loading_icon = "",
done_icon = ""
},
lualine = {
icon = "🐼"
-- default formatters for different content types
formatters = {
json = { "jq", "." },
xml = { "xmllint", "--format", "-" },
html = { "xmllint", "--format", "--html", "-" },
},
-- default icons
icons = {
inlay = {
loading = "",
done = ""
},
lualine = "🐼",
}
})
end
},
})
```

> [!WARNING]
> Requires Neovim 0.10.0+
18 changes: 17 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Install

Via [lazy.nvim](https://github.com/folke/lazy.nvim):
> [!WARNING]
> Requires Neovim 0.10.0+
Via [lazy.nvim](https://github.com/folke/lazy.nvim):

### Simple configuration

Expand All @@ -19,6 +21,20 @@ require('lazy').setup({
default_env = "dev",
-- enable/disable debug mode
debug = false,
-- default formatters for different content types
formatters = {
json = { "jq", "." },
xml = { "xmllint", "--format", "-" },
html = { "xmllint", "--format", "--html", "-" },
},
-- default icons
icons = {
inlay = {
loading = "",
done = ""
},
lualine = "🐼",
}
})
end
},
Expand Down
5 changes: 3 additions & 2 deletions lua/kulala/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ KULALA_CONFIG = KULALA_CONFIG or {
default_env = "dev",
-- enable/disable debug mode
debug = false,
-- formatters
-- default formatters for different content types
formatters = {
json = { "jq", "." },
xml = { "xmllint", "--format", "-" },
html = { "xmllint", "--format", "--html", "-" },
},
-- default icons
icons = {
inlay = {
loading = "",
done = ""
},
lualine = "🐼"
lualine = "🐼",
}
}

Expand Down

0 comments on commit 82f6364

Please sign in to comment.