cleaned
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
" Global configurations
|
||||
if exists('g:loaded_denote')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_denote = 1
|
||||
|
||||
" List of denote directories
|
||||
if !exists('g:denote_directories')
|
||||
let g:denote_directories = []
|
||||
endif
|
||||
call map(g:denote_directories, {_, d -> fnamemodify(d, ':p')})
|
||||
" If only one directory has been specified, use that as denote directory
|
||||
" if len(g:denote_directories) == 1
|
||||
" let g:denote_directory = g:denote_directories[0]
|
||||
" endif
|
||||
|
||||
" Restrict basic operations to these files
|
||||
if !exists('g:denote_note_file_extensions')
|
||||
@@ -21,8 +21,8 @@ if !exists('g:denote_loc_title_columns')
|
||||
endif
|
||||
|
||||
" Default filetype for newly created denote entries
|
||||
if !exists('g:denote_new_ft')
|
||||
let g:denote_new_ft = 'md'
|
||||
if !exists('g:denote_new_ext')
|
||||
let g:denote_new_ext = 'md'
|
||||
endif
|
||||
|
||||
" Default front-matter type for markdown notes, may be one of 'yaml' or 'toml'
|
||||
@@ -33,7 +33,7 @@ endif
|
||||
" By using the following global variable, the user may specify a custom
|
||||
" function for creating identifiers.
|
||||
if !exists('g:Denote_identifier_fun')
|
||||
let g:Denote_identifier_fun = function('denote#meta#identifier_generate')
|
||||
let g:Denote_identifier_fun = function('libdenote#scheme_idgen')
|
||||
endif
|
||||
|
||||
" Transform full path into canonical form WITH trailing '/'
|
||||
|
||||
Reference in New Issue
Block a user