From 7c3ff79631884c4b9c658a920215b70323d2356b Mon Sep 17 00:00:00 2001 From: ahhshm <87268103+ahhshm@users.noreply.github.com> Date: Fri, 22 Apr 2022 12:03:58 +0430 Subject: fix formatting --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9ec0a06..4533861 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # NvChad Official Terminal Plugin -## Setup: +## Setup -### Installation: +### Installation Simply install the plugin with packer as you would for any other: @@ -15,7 +15,7 @@ use { } ``` -### Configuration: +### Configuration Pass a table of configuration options to the plugin's `.setup()` function above. A sample configuration table with the default options is shown below: @@ -50,7 +50,7 @@ require("nvterm").setup({ }) ``` A shortcut is available for setting options of the different terminal types: -``` +```lua require("nvterm").setup({ float = { relative = 'editor', @@ -67,7 +67,7 @@ require("nvterm").setup({ is equivalent to: -``` +```lua require("nvterm").setup({ terminals = { type_opts = { @@ -86,10 +86,10 @@ require("nvterm").setup({ }) ``` -### Additional Functionality: +### Additional Functionality NvTerm provides an api for you to send commands to the terminal. You can create different ones for different filetypes like so: -``` +```lua require("nvterm").setup() local terminal = require("nvterm.terminal") -- cgit v1.2.3-70-g09d2