mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
u r + h
This commit is contained in:
@@ -107,6 +107,9 @@ telekasten.setup({opts})
|
||||
-- 'left'
|
||||
-- 'right'
|
||||
-- 'left-fit'
|
||||
|
||||
-- make syntax available to markdown buffers and telescope previewers
|
||||
install_syntax = true,
|
||||
}
|
||||
<
|
||||
|
||||
@@ -207,6 +210,11 @@ telekasten.setup({opts})
|
||||
Default: `nil`
|
||||
Example: `'~/zettelkasten/templates/daily.md'`
|
||||
|
||||
install_syntax:~
|
||||
If `true`, telekasten's syntax for links, tags, etc. will be used for
|
||||
markdown files, also in telescope previewers. Your configured markdown
|
||||
syntax will be inherited, though.
|
||||
|
||||
|
||||
Valid keys for {opts.calendar_opts}
|
||||
|
||||
@@ -548,6 +556,12 @@ Tag syntax:~
|
||||
Numbers are allowed in tags, as long as a tag is not purely numeric. For
|
||||
example, #1984 is not a valid tag, but `#y1984` is.
|
||||
|
||||
Note:~
|
||||
For proper highlighting, the `install_syntax` option is set to `true` by
|
||||
default. This automatically sets the syntax of filetype `markdown` to
|
||||
`telekasten`, and also registers this syntax with telescope previewers for
|
||||
`.md` files.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Section 3.3: Templates *telekasten.templates*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user