aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzbirenbaum <zacharyobirenbaum@gmail.com>2022-04-22 00:48:53 -0400
committerzbirenbaum <zacharyobirenbaum@gmail.com>2022-04-22 00:49:41 -0400
commitf97b66d258415a046bc61c18788ef8294c0f90b6 (patch)
treea4639c45c5d944bb81ffd299a04cbc65da17bc8d
parentadd README.md (diff)
rename modules
-rw-r--r--README.md6
-rw-r--r--lua/nvterm/init.lua (renamed from lua/chadterm/init.lua)4
-rw-r--r--lua/nvterm/terminal.lua (renamed from lua/chadterm/terminal.lua)2
-rw-r--r--lua/nvterm/termutil.lua (renamed from lua/chadterm/termutil.lua)0
4 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 947c035..68e10b5 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,9 @@ Simply install the plugin with packer as you would for any other:
```
use {
- "NvChad/chadterm",
+ "NvChad/nvterm",
config = function ()
- require("chadterm").setup()
+ require("nvterm").setup()
end,
}
```
@@ -20,7 +20,7 @@ Pass a table of configuration options to the plugin's `.setup()` function above.
A sample configuration table with the default options is shown below:
```lua
-require("chadterm").setup({
+require("nvterm").setup({
terminals = {
list = {},
type_opts = {
diff --git a/lua/chadterm/init.lua b/lua/nvterm/init.lua
index 2c14e9c..aca5b39 100644
--- a/lua/chadterm/init.lua
+++ b/lua/nvterm/init.lua
@@ -1,6 +1,6 @@
local M = {}
-local terminal = require("chadterm.terminal")
+local terminal = require("nvterm.terminal")
local defaults = {
terminals = {
@@ -62,7 +62,7 @@ M.setup = function (config)
config = config and vim.tbl_deep_extend("force", config, defaults) or defaults
set_behavior(config.behavior)
create_mappings(config.mappings)
- require('chadterm.terminal').init(config.terminals)
+ terminal.init(config.terminals)
end
return M
diff --git a/lua/chadterm/terminal.lua b/lua/nvterm/terminal.lua
index 66ee2de..a5103db 100644
--- a/lua/chadterm/terminal.lua
+++ b/lua/nvterm/terminal.lua
@@ -1,4 +1,4 @@
-local util = require('chadterm.termutil')
+local util = require('nvterm.termutil')
local a = vim.api
local nvterm = {}
local terminals = {}
diff --git a/lua/chadterm/termutil.lua b/lua/nvterm/termutil.lua
index 92fc632..92fc632 100644
--- a/lua/chadterm/termutil.lua
+++ b/lua/nvterm/termutil.lua