File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,9 @@ M.lazy.config = function()
95
95
alias_format = " %B %-d, %Y" ,
96
96
template = " Templates.nvim/daily-note.md" ,
97
97
},
98
+ new_notes_location = " notes_subdir" ,
98
99
completion = {
99
100
nvim_cmp = true ,
100
- new_notes_location = " notes_subdir" ,
101
101
},
102
102
templates = {
103
103
subdir = " 0-Assets" ,
Original file line number Diff line number Diff line change 1
1
local Globals = require (" ht.core.globals" )
2
2
local entry_display = require (" telescope.pickers.entry_display" )
3
- local obsidian = require (" obsidian" )
4
3
local pickers = require (" telescope.pickers" )
5
4
local conf = require (" telescope.config" ).values
6
5
local actions = require (" telescope.actions" )
@@ -10,7 +9,6 @@ local finders = require("telescope.finders")
10
9
local extra_obsidian = require (" ht.extra.obsidian" )
11
10
local Tbl = require (" ht.utils.table" )
12
11
local hv = require (" ht.vim" )
13
- assert (obsidian ~= nil )
14
12
15
13
local note_path_blacklist_pattern = {
16
14
" 1-Inputs/Weread" ,
@@ -152,7 +150,9 @@ local function find_notes(opts, notes)
152
150
local entry = action_state .get_selected_entry ()
153
151
actions .close (bufnr )
154
152
if entry ~= nil then
155
- vim .cmd ((" e %s/%s" ):format (Globals .obsidian_vault , entry .value .value .path ))
153
+ vim .cmd (
154
+ (" e %s/%s" ):format (Globals .obsidian_vault , entry .value .value .path )
155
+ )
156
156
end
157
157
end )
158
158
return true
You can’t perform that action at this time.
0 commit comments