mirror of
https://github.com/NotAShelf/syntax-gaslighting.nvim.git
synced 2026-04-15 15:33:47 +00:00
docs: add demo
This commit is contained in:
parent
4dbfc8e4b6
commit
de41349888
2 changed files with 12 additions and 6 deletions
BIN
.github/assets/gaslight.png
vendored
Normal file
BIN
.github/assets/gaslight.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 108 KiB |
18
README.md
18
README.md
|
|
@ -1,10 +1,13 @@
|
||||||
# syntax-gaslighting.nvim
|
# syntax-gaslighting.nvim
|
||||||
|
|
||||||
Gaslighting? That's not even a real word, you're crazy.
|
<div align="center">
|
||||||
|
<p>Gaslighting? That's not even a real word, you're crazy.</p>
|
||||||
|
<img src=".github/assets/gaslight.png" alt="Syntax Gaslighting in action">
|
||||||
|
</div>
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Use what?
|
_Use what?_
|
||||||
|
|
||||||
Install with your favorite package manager (or Nix), then call the `setup`
|
Install with your favorite package manager (or Nix), then call the `setup`
|
||||||
function.
|
function.
|
||||||
|
|
@ -31,6 +34,7 @@ require("syntax-gaslighting").setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Option to merge user messages with the default ones (default: false)
|
-- Option to merge user messages with the default ones (default: false)
|
||||||
|
-- If disabled, the messages table will override default messages.
|
||||||
merge_messages = true, -- Default is false
|
merge_messages = true, -- Default is false
|
||||||
|
|
||||||
-- Highlight group for gaslighting messages (linked to Comment by default)
|
-- Highlight group for gaslighting messages (linked to Comment by default)
|
||||||
|
|
@ -49,7 +53,9 @@ require("syntax-gaslighting").setup({
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Based on the awesome
|
[VSCode extension]: https://github.com/eNiiju/syntax-gaslighting
|
||||||
[VSCode extension](https://github.com/eNiiju/syntax-gaslighting) from
|
[@eNiiju]: https://github.com/eNiiju
|
||||||
[@eNiiju](https://github.com/eNiiju). To remain compatible with the license,
|
|
||||||
syntax-gaslighting.nvim is licensed under the [MPL](./LICENSE)
|
Based on the awesome [VSCode extension] by [@eNiiju]. To remain compatible with
|
||||||
|
the license, syntax-gaslighting.nvim is licensed under the [MPL 2.0](./LICENSE).
|
||||||
|
Please see the license file for more details.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue