-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f34a68b
commit d876176
Showing
3 changed files
with
9 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,3 @@ | ||
## Fix bug | ||
* Fix bug with `dynamic_root = true` option not working [#211](https://github.com/brianhuster/live-preview.nvim/issues/211) | ||
## New features | ||
|
||
## 🗑️ Deprecated API | ||
* `require('livepreview').preview_file()`. Use `require('livepreview').live_start()` instead. | ||
* `require('livepreview').stop_preview()`. Use `require('livepreview').live_stop()` instead. | ||
|
||
|
||
## ✨ New features | ||
|
||
### 🔍 Integration with telescope.nvim | ||
|
||
To use this feature, make sure you have installed [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) | ||
|
||
Then, set `telescope.autoload` to `true` in the [configuration table](./README.md#setup) of live-preview.nvim. It will automatically load the `Telescope livepreview` extension when the plugin is set up. | ||
|
||
Alternatively, you can load the extension in your Neovim configuration file: | ||
|
||
```lua | ||
require('telescope').load_extension('livepreview') | ||
``` | ||
|
||
Now you can run `:Telescope livepreview` to open live-preview.nvim's Telescope picker. | ||
|
||
### ⚙️ New configuration options | ||
`autokill` (default: `false` or `v:false`): If true, the plugin will automatically kill other processes running on the same port (except for Neovim) when starting the server. | ||
|
||
### File path as optional argument for the command to start server | ||
|
||
You can now pass a file path as an argument to the command `:LivePreview` (or whatever you configure) to open that file in the browser. For example, `:LivePreview Documents/file.md`. | ||
|
||
### Availability on Luarocks 🪨 | ||
|
||
Now you can use [rocks.nvim](https://github.com/nvim-neorocks/rocks.nvim) to install live-preview.nvim with a single command: | ||
|
||
```vim | ||
:Rocks install live-preview.nvim | ||
``` | ||
* Add support for Github emoji in markdown files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# v0.7 | ||
|
||
## New features | ||
|
||
* Add support for Github emoji in markdown files | ||
|
||
# v0.6 | ||
|
||
## Fix bug | ||
|