mkdnflow: adapt follow link behavior
- Sets the `perspective.priority` to `current` to get the follow link feature behaves as I need, relative to the current buffer. - Fixes the new file template to avoid a blank column at the begining (results in an invalid YAML syntax). Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
parent
0f0b1ee56a
commit
1585f558ba
|
@ -22,18 +22,22 @@ return {
|
|||
markdown = true,
|
||||
pandoc = true
|
||||
},
|
||||
perspective = {
|
||||
-- Ensure that paths are relative to the current file
|
||||
priority = "current"
|
||||
},
|
||||
links = {
|
||||
conceal = true,
|
||||
},
|
||||
new_file_template = {
|
||||
use_template = true,
|
||||
template = [[
|
||||
---
|
||||
title:
|
||||
date: {{ date }}
|
||||
id: {{ id }}
|
||||
tags: []
|
||||
---
|
||||
---
|
||||
title:
|
||||
date: {{ date }}
|
||||
id: {{ id }}
|
||||
tags: []
|
||||
---
|
||||
]],
|
||||
placeholders = {
|
||||
before = {
|
||||
|
|
|
@ -8,3 +8,4 @@ InfoBiblio
|
|||
Réaménagement
|
||||
biodiversité
|
||||
hyperindustrialisés
|
||||
lacto-fermentation
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue