Skip to content

Commit 61b2f1b

Browse files
author
Chris Pecunies
committed
removing mod module, removing nui dependency
1 parent dd83fd2 commit 61b2f1b

File tree

5 files changed

+28
-497
lines changed

5 files changed

+28
-497
lines changed

README.md

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ the _familiar_, organized future for neovim and beyond!
8181
dependencies = {
8282
"nvim-treesitter/nvim-treesitter",
8383
"nvim-lua/plenary.nvim",
84-
8584
-- And an optional picker, if you want that functionality
8685
"nvim-telescope/telescope.nvim", -- optional
8786
-- "folke/snacks.nvim", -- optional
@@ -107,15 +106,13 @@ the _familiar_, organized future for neovim and beyond!
107106
Plug "nvim-telescope/telescope.nvim" " optional
108107
Plug "nvim-treesitter/treesitter.nvim"
109108
Plug "nvim-lua/plenary.nvim",
110-
Plug "MunifTanjim/nui.nvim",
111-
Plug "pysan3/pathlib.nvim"
112109
Plug "clpi/down.nvim", {
113110
\ "branch" : "master",
114111
\ "do" : ':lua require([[down]]).setup({
115112
\ workspace = {
113+
\ default = [[wiki]],
116114
\ workspaces = {
117115
\ wiki = [[~/wiki]],
118-
\ default = [[~/down]],
119116
\ notes = [[~/notes]]
120117
\ }
121118
\ }
@@ -135,10 +132,8 @@ Plug "clpi/down.nvim", {
135132
> Not yet tested
136133
137134
```vim
138-
Plugin "pysan3/pathlib.nvim"
139135
Plugin 'nvim-telescope/telescope.nvim'
140136
Plugin "nvim-lua/plenary.nvim",
141-
Plugin "MunifTanjim/nui.nvim",
142137
Plugin 'clpi/down.nvim'
143138
```
144139

@@ -158,8 +153,6 @@ Plugin 'clpi/down.nvim'
158153
159154
```vim
160155
call dein#add("nvim-lua/plenary.nvim")
161-
call dein#add("MunifTanjim/nui.nvim")
162-
call dein#add('pysan3/pathlib.nvim')
163156
call dein#add('nvim-telescope/telescope.nvim')
164157
call dein#add('clpi/down.nvim')
165158
```
@@ -180,20 +173,18 @@ call dein#add('clpi/down.nvim')
180173
181174
```lua
182175
use {
183-
"clp/down.nvim",
176+
"clpi/down.nvim",
184177
requires = {
185-
"nvim-telescope/telescope.nvim",
186-
"nvim-lua/plenary.nvim",
187-
"MunifTanjim/nui.nvim",
188-
"pysan3/pathlib.nvim"
178+
"nvim-telescope/telescope.nvim",
179+
"nvim-lua/plenary.nvim",
189180
},
190181
tag = "*",
191182
branch = 'master',
192183
config = function()
193184
require("down").setup({
194185
workspace = {
186+
default = "notes",
195187
workspaces = {
196-
default = "~/down",
197188
home = "~/notes",
198189
notes = "~/notes"
199190
}
@@ -218,9 +209,25 @@ use {
218209
> Not yet tested
219210
220211
```lua
221-
{
222-
"clp/down.nvim",
223-
}
212+
local add = require("mini.deps").add
213+
214+
add({
215+
source = "clpi/down.nvim",
216+
depends = {
217+
"nvim-telescope/telescope.nvim",
218+
"nvim-lua/plenary.nvim",
219+
},
220+
})
221+
222+
require("down").setup({
223+
workspace = {
224+
default = "notes",
225+
workspaces = {
226+
home = "~/notes",
227+
notes = "~/notes"
228+
}
229+
}
230+
})
224231
```
225232

226233
</details>
@@ -253,7 +260,6 @@ require("down").setup({ ---@type down.mod.Config
253260
workspace = {
254261
default = 'home',
255262
workspaces = {
256-
default = "~/down",
257263
home = "~/notes",
258264
notes = "~/notes"
259265
}

lua/down/mod/mod/README.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)