Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhuster committed Oct 21, 2024
1 parent 8636252 commit 737542b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ https://github.com/user-attachments/assets/865112c1-8514-4920-a531-b2204194f749

You can install this plugin using a plugin manager. Most plugin managers are supported. Below are some examples
<details>
<summary>### Using lazy.nvim (recommended)</summary>
<summary>
### Using lazy.nvim (recommended)
</summary>

```lua
require("lazy").setup({
Expand All @@ -47,7 +49,9 @@ require("lazy").setup({
</details>

<details>
<summary>### mini.deps</summary>
<summary>
### mini.deps
</summary>

```lua
add({
Expand All @@ -60,7 +64,9 @@ require('livepreview').setup()
</details>

<details>
<summary>### vim-plug</summary>
<summary>
### vim-plug
</summary>

```vim
Plug 'brianhuster/live-preview.nvim'
Expand All @@ -73,7 +79,9 @@ lua require('livepreview').setup(vim.g.livepreview_config) " Required to enable
</details>

<details>
<summary>### Native package (without a plugin manager)</summary>
<summary>
### Native package (without a plugin manager)
</summary>

- **Linux, MacOS, Unix-based**

Expand Down
16 changes: 12 additions & 4 deletions README.vi.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ https://github.com/user-attachments/assets/e9a64709-8758-44d8-9e3c-9c15e0bf2a0e
Bạn có thể cài đặt plugin này bằng một trình quản lý plugin. Dưới đây là một số ví dụ

<details>
<summary>### Với lazy.nvim</summary>
<summary>
### Với lazy.nvim
</summary>

```lua
require("lazy").setup({
Expand All @@ -47,7 +49,9 @@ require("lazy").setup({
</details>

<details>
<summary>### mini.deps</summary>
<summary>
### mini.deps
</summary>

```lua
add({
Expand All @@ -60,7 +64,9 @@ require('livepreview').setup()
</details>

<details>
<summary>### vim-plug</summary>
<summary>
### vim-plug
</summary>

```vim
Plug 'brianhuster/live-preview.nvim'
Expand All @@ -73,7 +79,9 @@ lua require('livepreview').setup(vim.g.livepreview_config) " Bắt buộc để
</details>

<details>
<summary>### Cài đặt thủ công (không dùng trình quản lý plugin)</summary>
<summary>
### Cài đặt thủ công (không dùng trình quản lý plugin)
</summary>

- **Linux, MacOS, dựa trên Unix**

Expand Down

0 comments on commit 737542b

Please sign in to comment.